Xceed Toolkit Plus for WPF v4.6 Documentation
StyleUsageMode Property (ThemeResourceDictionary)


Xceed.Wpf.ListBox Assembly > Xceed.Wpf.ListBox 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

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 (see Table 2 in Styles and Themes topic).
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