optimized performance
This commit is contained in:
1 parent
f9614d3b17
commit
635d8798d7
19 files changed
+32
-44
No files matched your search
@@ -50,7 +50,7 @@ namespace HandyControl.Controls
|
||||
"IsInstance", typeof(bool), typeof(AdornerElement), new PropertyMetadata(ValueBoxes.TrueBox));
|
||||
|
||||
public static void SetIsInstance(DependencyObject element, bool value)
|
||||
=> element.SetValue(IsInstanceProperty, value);
|
||||
=> element.SetValue(IsInstanceProperty, ValueBoxes.BooleanBox(value));
|
||||
|
||||
public static bool GetIsInstance(DependencyObject element)
|
||||
=> (bool) element.GetValue(IsInstanceProperty);
|
||||
|
||||
Reference in new issue
Block a user