support for sync with system theme

This commit is contained in:
NaBian committed 2021-05-30 14:50:38 +08:00
1 parent d997aee5f7
commit 3da5662a90
10 files changed
+111 -46

No files matched your search

@@ -141,7 +141,7 @@ namespace HandyControl.Controls
}
public static void SetHideWhenClosing(DependencyObject element, bool value)
=> element.SetValue(HideWhenClosingProperty, value);
=> element.SetValue(HideWhenClosingProperty, ValueBoxes.BooleanBox(value));
public static bool GetHideWhenClosing(DependencyObject element)
=> (bool) element.GetValue(HideWhenClosingProperty);