fix: CheckComboBox ShowSelectAllButton issue.
This commit is contained in:
1 parent
3e01876fa3
commit
f6b8bdbeef
1 file changed
+1
-1
@@ -170,7 +170,7 @@ public class CheckComboBox : ListBox
|
||||
if (_selectAllItem != null)
|
||||
{
|
||||
_isInternalAction = true;
|
||||
_selectAllItem.SetCurrentValue(IsSelectedProperty, SelectedItems.Count == Items.Count);
|
||||
_selectAllItem.SetCurrentValue(IsSelectedProperty, Items.Count > 0 && SelectedItems.Count == Items.Count);
|
||||
_isInternalAction = false;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user