fix: CheckComboBox ShowSelectAllButton issue.

This commit is contained in:
NaBian committed 2023-07-27 23:11:37 +08:00
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;
}