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

@@ -125,7 +125,7 @@ namespace HandyControl.Controls
public bool IsDrawing
{
get => (bool)GetValue(IsDrawingProperty);
internal set => SetValue(IsDrawingProperty, value);
internal set => SetValue(IsDrawingProperty, ValueBoxes.BooleanBox(value));
}
public static readonly DependencyProperty IsSelectingProperty = DependencyProperty.Register(
@@ -134,7 +134,7 @@ namespace HandyControl.Controls
public bool IsSelecting
{
get => (bool)GetValue(IsSelectingProperty);
internal set => SetValue(IsSelectingProperty, value);
internal set => SetValue(IsSelectingProperty, ValueBoxes.BooleanBox(value));
}
public static readonly DependencyProperty SizeProperty = DependencyProperty.Register(