Xceed DataGrid for WPF v7.2 Documentation
MetroLightThemeResourceDictionary Class
Members  Example 


Xceed.Wpf.DataGrid.ThemePack.4 Assembly > Xceed.Wpf.DataGrid.ThemePack Namespace : MetroLightThemeResourceDictionary Class
Represents the resource dictionary for the light-toned Metro theme.
Syntax
'Declaration
 
<DefaultMemberAttribute("Item")>

<LocalizabilityAttribute(LocalizationCategory.Ignore)>

<AmbientAttribute()>

<UsableDuringInitializationAttribute(True)>

Public Class MetroLightThemeResourceDictionary 

   Inherits MetroThemeResourceDictionaryBase
'Usage
 
Dim instance As MetroLightThemeResourceDictionary
[DefaultMember("Item")]

[Localizability(LocalizationCategory.Ignore)]

[Ambient()]

[UsableDuringInitialization(true)]

public class MetroLightThemeResourceDictionary : 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:MetroLightThemeThemeResourceDictionary 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.MetroLightThemeResourceDictionary

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

MetroLightThemeResourceDictionary Members
Xceed.Wpf.DataGrid.ThemePack Namespace