'Declaration Public Enum StyleUsageMode Inherits System.Enum
'Usage Dim instance As StyleUsageMode
public enum StyleUsageMode : System.Enum
'Declaration Public Enum StyleUsageMode Inherits System.Enum
'Usage Dim instance As StyleUsageMode
public enum StyleUsageMode : System.Enum
Member | Description |
---|---|
Explicit | Styles will be applied explicitly. (Defined styles will not be overridden.) |
Implicit | Styles will be applied implicitly (automatically). |
The following example shows how to set the style for a Button control manually. The StyleUsageMode property of the resource dictionary has been set to Explicit.
XAML | Copy Code |
---|---|
<Window.Resources> |
System.Object
System.ValueType
System.Enum
Xceed.Wpf.Themes.StyleUsageMode
Target Platforms: 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