| WpfStylesDefaults Method (Window) |
Note: This API is now obsolete.
Returns a resource dictionary with the default styles for the window and the common controls.
Namespace:
TomsToolbox.Wpf.Styles
Assembly:
TomsToolbox.Wpf.Styles (in TomsToolbox.Wpf.Styles.dll)
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
- Type: System.WindowsWindow
A helper window used to access global theme resources.
Return Value
Type:
ResourceDictionary
A resource dictionary containing the default styles.
See Also