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

@@ -31,7 +31,7 @@ namespace HandyControl.Controls
public bool IsRunning
{
get => (bool) GetValue(IsRunningProperty);
set => SetValue(IsRunningProperty, value);
set => SetValue(IsRunningProperty, ValueBoxes.BooleanBox(value));
}
public static readonly DependencyProperty DotCountProperty = DependencyProperty.Register(
@@ -4,6 +4,7 @@ using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Media;
using System.Windows.Media.Animation;
using HandyControl.Data;
namespace HandyControl.Controls
@@ -27,7 +28,7 @@ namespace HandyControl.Controls
public bool NeedHidden
{
get => (bool) GetValue(NeedHiddenProperty);
set => SetValue(NeedHiddenProperty, value);
set => SetValue(NeedHiddenProperty, ValueBoxes.BooleanBox(value));
}
static LoadingCircle()