Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid.ThemePack.4 Assembly / Xceed.Wpf.DataGrid.ThemePack Namespace / MetroDarkThemeResourceDictionary Class
Members Example


In This Topic
    MetroDarkThemeResourceDictionary Class
    In This Topic
    Represents the resource dictionary for the dark-toned Metro theme.
    Syntax
    'Declaration
     
    <DefaultMemberAttribute("Item")>
    <LocalizabilityAttribute(LocalizationCategory.Ignore)>
    <AmbientAttribute()>
    <UsableDuringInitializationAttribute(True)>
    Public Class MetroDarkThemeResourceDictionary 
       Inherits MetroThemeResourceDictionaryBase
    'Usage
     
    Dim instance As MetroDarkThemeResourceDictionary
    [DefaultMember("Item")]
    [Localizability(LocalizationCategory.Ignore)]
    [Ambient()]
    [UsableDuringInitialization(true)]
    public class MetroDarkThemeResourceDictionary : MetroThemeResourceDictionaryBase 
    Remarks
    The styles in a theme resource dictionary can be applied implicitly or explicitly, depending on the value of the dictionary's StyleUsageMode property. If set to Implicit (see example)—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.
    Example
    <ResourceDictionary>
        <ResourceDictionary.MergedDictionaries>
            <xcdg:MetroDarkThemeThemeResourceDictionary StyleUsageMode="Implicit"/>
        </ResourceDictionary.MergedDictionaries>
    </ResourceDictionary>
    Inheritance Hierarchy

    System.Object
       System.Windows.ResourceDictionary
          Xceed.Wpf.DataGrid.ThemePack.ThemeResourceDictionary
             Xceed.Wpf.DataGrid.ThemePack.MetroThemeResourceDictionaryBase
                Xceed.Wpf.DataGrid.ThemePack.MetroDarkThemeResourceDictionary

    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