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

@@ -23,7 +23,7 @@ namespace HandyControl.Controls
public bool KeepVertical
{
get => (bool) GetValue(KeepVerticalProperty);
set => SetValue(KeepVerticalProperty, value);
set => SetValue(KeepVerticalProperty, ValueBoxes.BooleanBox(value));
}
public static readonly DependencyProperty OffsetAngleProperty = DependencyProperty.Register(
@@ -47,7 +47,7 @@ namespace HandyControl.Controls
public bool IsFixed
{
get => (bool) GetValue(IsFixedProperty);
set => SetValue(IsFixedProperty, value);
set => SetValue(IsFixedProperty, ValueBoxes.BooleanBox(value));
}
internal int GetLayoutCellCount(ColLayoutStatus status)