| WpfStylesDefaults(Window) Method |
Note: This API is now obsolete.
Returns a resource dictionary with the default styles for the window and the common controls.
Namespace: TomsToolbox.Wpf.StylesAssembly: TomsToolbox.Wpf.Styles (in TomsToolbox.Wpf.Styles.dll) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntax [ObsoleteAttribute("Use GetDefaultStyles() and RegisterDefaultWindowStyle() instead.",
true)]
public static ResourceDictionary Defaults(
Window helperWindow
)
<ObsoleteAttribute("Use GetDefaultStyles() and RegisterDefaultWindowStyle() instead.",
true)>
Public Shared Function Defaults (
helperWindow As Window
) As ResourceDictionary
Parameters
- helperWindow Window
- A helper window used to access global theme resources.
Return Value
ResourceDictionary
A resource dictionary containing the default styles.
See Also