optimized performance
This commit is contained in:
1 parent
f9614d3b17
commit
635d8798d7
19 files changed
+32
-44
No files matched your search
@@ -104,7 +104,7 @@ namespace HandyControl.Tools
|
||||
}
|
||||
|
||||
public static void SetHost(DependencyObject element, bool value)
|
||||
=> element.SetValue(HostProperty, value);
|
||||
=> element.SetValue(HostProperty, ValueBoxes.BooleanBox(value));
|
||||
|
||||
public static bool GetHost(DependencyObject element)
|
||||
=> (bool) element.GetValue(HostProperty);
|
||||
|
||||
Reference in new issue
Block a user