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

@@ -96,7 +96,7 @@ namespace HandyControl.Interactivity
public bool MustToggleIsEnabled
{
get => (bool) GetValue(MustToggleIsEnabledProperty);
set => SetValue(MustToggleIsEnabledProperty, value);
set => SetValue(MustToggleIsEnabledProperty, ValueBoxes.BooleanBox(value));
}
public bool MustToggleIsEnabledValue
@@ -127,7 +127,7 @@ namespace HandyControl.Interactivity
public bool AlwaysInvokeCommand
{
get => (bool) GetValue(AlwaysInvokeCommandProperty);
set => SetValue(AlwaysInvokeCommandProperty, value);
set => SetValue(AlwaysInvokeCommandProperty, ValueBoxes.BooleanBox(value));
}
protected override void OnAttached()