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

@@ -123,7 +123,7 @@ namespace HandyControl.Controls
public bool Loop
{
get => (bool)GetValue(LoopProperty);
set => SetValue(LoopProperty, value);
set => SetValue(LoopProperty, ValueBoxes.BooleanBox(value));
}
public override void OnApplyTemplate()
@@ -146,7 +146,7 @@ namespace HandyControl.Controls
public bool ItemContentHeightFixed
{
get => (bool)GetValue(ItemContentHeightFixedProperty);
set => SetValue(ItemContentHeightFixedProperty, value);
set => SetValue(ItemContentHeightFixedProperty, ValueBoxes.BooleanBox(value));
}
public static readonly DependencyProperty ItemHeaderTemplateProperty = DependencyProperty.Register(