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)
Syntax
public static ResourceDictionary RegisterDefaultStyles(
	this ResourceDictionary resources
)

Parameters

resources
Type: System.WindowsResourceDictionary
The resource dictionary to which the default style definitions will be added, usually Resources.

Return Value

Type: 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