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

@@ -11,7 +11,7 @@ namespace HandyControl.Controls
public bool IsTransferred
{
get => (bool) GetValue(IsTransferredProperty);
set => SetValue(IsTransferredProperty, value);
set => SetValue(IsTransferredProperty, ValueBoxes.BooleanBox(value));
}
public static readonly DependencyProperty IsOriginProperty = DependencyProperty.Register(
@@ -20,7 +20,7 @@ namespace HandyControl.Controls
public bool IsOrigin
{
get => (bool) GetValue(IsOriginProperty);
internal set => SetValue(IsOriginProperty, value);
internal set => SetValue(IsOriginProperty, ValueBoxes.BooleanBox(value));
}
}
}