Click or drag to resize

WpfStylesRegisterDefaultStyles Method

Registers the default styles for the common controls.

Namespace: TomsToolbox.Wpf.Styles
Assembly: TomsToolbox.Wpf.Styles (in TomsToolbox.Wpf.Styles.dll) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntax
public static ResourceDictionary RegisterDefaultStyles(
	this ResourceDictionary resources
)

Parameters

resources  ResourceDictionary
The resource dictionary to which the default style definitions will be added, usually Resources.

Return Value

ResourceDictionary

[Missing <returns> documentation for "M:TomsToolbox.Wpf.Styles.WpfStyles.RegisterDefaultStyles(System.Windows.ResourceDictionary)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ResourceDictionary. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also