optimized performance

This commit is contained in:
NaBian committed 2020-06-28 22:39:27 +08:00
1 parent c407997a3c
commit 3162267795
65 files changed
+168 -168

No files matched your search

@@ -127,7 +127,7 @@ namespace HandyControl.Controls
public bool AutoSelect
{
get => (bool) GetValue(AutoSelectProperty);
set => SetValue(AutoSelectProperty, value);
set => SetValue(AutoSelectProperty, ValueBoxes.BooleanBox(value));
}
public static readonly DependencyProperty ExpandModeProperty = DependencyProperty.Register(
@@ -102,7 +102,7 @@ namespace HandyControl.Controls
public bool IsSelected
{
get => (bool) GetValue(IsSelectedProperty);
set => SetValue(IsSelectedProperty, value);
set => SetValue(IsSelectedProperty, ValueBoxes.BooleanBox(value));
}
public static readonly DependencyProperty RoleProperty = DependencyProperty.Register(