Xceed DataGrid for WPF v7.2 Documentation
StyleUsageMode Property (ThemeResourceDictionary)


Xceed.Wpf.DataGrid.ThemePack.4 Assembly > Xceed.Wpf.DataGrid.ThemePack Namespace > ThemeResourceDictionary Class : StyleUsageMode Property
Gets or sets a value indicating whether styles in a theme resource dictionary will be applied implicitly or explicitly.
Syntax
'Declaration
 
Public Property StyleUsageMode As StyleUsageMode
'Usage
 
Dim instance As ThemeResourceDictionary

Dim value As StyleUsageMode

 

instance.StyleUsageMode = value

 

value = instance.StyleUsageMode
public StyleUsageMode StyleUsageMode {get; set;}

Property Value

A StyleUsageMode value representing the style (explicit or implicit) to use with the theme.
Remarks
If set to Implicit—or not set at all—all the theme's styles will be applied unless a style that overrides the theme's styles is provided. If set to Explicit, the styles in the resource dictionary can be applied selectively using their key
Requirements

Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ThemeResourceDictionary Class
ThemeResourceDictionary Members