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

@@ -59,7 +59,7 @@ namespace HandyControl.Controls
public bool IsAnimationEnabled
{
get => (bool)GetValue(IsAnimationEnabledProperty);
set => SetValue(IsAnimationEnabledProperty, value);
set => SetValue(IsAnimationEnabledProperty, ValueBoxes.BooleanBox(value));
}
/// <summary>
@@ -74,7 +74,7 @@ namespace HandyControl.Controls
public bool IsDraggable
{
get => (bool)GetValue(IsDraggableProperty);
set => SetValue(IsDraggableProperty, value);
set => SetValue(IsDraggableProperty, ValueBoxes.BooleanBox(value));
}
/// <summary>
@@ -131,7 +131,7 @@ namespace HandyControl.Controls
public bool IsTabFillEnabled
{
get => (bool)GetValue(IsTabFillEnabledProperty);
set => SetValue(IsTabFillEnabledProperty, value);
set => SetValue(IsTabFillEnabledProperty, ValueBoxes.BooleanBox(value));
}
/// <summary>
@@ -176,7 +176,7 @@ namespace HandyControl.Controls
public bool IsScrollable
{
get => (bool) GetValue(IsScrollableProperty);
set => SetValue(IsScrollableProperty, value);
set => SetValue(IsScrollableProperty, ValueBoxes.BooleanBox(value));
}
/// <summary>
@@ -191,7 +191,7 @@ namespace HandyControl.Controls
public bool ShowOverflowButton
{
get => (bool) GetValue(ShowOverflowButtonProperty);
set => SetValue(ShowOverflowButtonProperty, value);
set => SetValue(ShowOverflowButtonProperty, ValueBoxes.BooleanBox(value));
}
/// <summary>
@@ -206,7 +206,7 @@ namespace HandyControl.Controls
public bool ShowScrollButton
{
get => (bool) GetValue(ShowScrollButtonProperty);
set => SetValue(ShowScrollButtonProperty, value);
set => SetValue(ShowScrollButtonProperty, ValueBoxes.BooleanBox(value));
}
/// <summary>