'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;}
'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;}
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> |
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