Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid.Views Namespace / DictionaryTheme Class
Members


In This Topic
    DictionaryTheme Class
    In This Topic
    Base class of the Metro themes (MetroTheme).
    Syntax
    'Declaration
     
    <TypeConverterAttribute(Xceed.Wpf.DataGrid.Markup.ThemeConverter)>
    <TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)>
    <NameScopePropertyAttribute("NameScope", System.Windows.NameScope)>
    Public MustInherit Class DictionaryTheme 
       Inherits Theme
    'Usage
     
    Dim instance As DictionaryTheme
    [TypeConverter(Xceed.Wpf.DataGrid.Markup.ThemeConverter)]
    [TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]
    [NameScopeProperty("NameScope", System.Windows.NameScope)]
    public abstract class DictionaryTheme : Theme 
    Remarks
    This base class makes it easier to assign a Metro theme to the datagrid, dynamically to the datagrid at runtime, taking into consideration the accent color (AccentColor) and the style (dark versus light; ColorModeEnum).
    Inheritance Hierarchy

    System.Object
       System.Windows.Threading.DispatcherObject
          System.Windows.DependencyObject
             Xceed.Wpf.DataGrid.Views.Theme
                Xceed.Wpf.DataGrid.Views.DictionaryTheme
                   Xceed.Wpf.DataGrid.ThemePack.FluentDesignTheme
                   Xceed.Wpf.DataGrid.ThemePack.MaterialDesignTheme
                   Xceed.Wpf.DataGrid.ThemePack.MetroTheme

    Public Properties
     NameDescription
    Public Property (Inherited from System.Windows.DependencyObject)
    Public Property (Inherited from System.Windows.Threading.DispatcherObject)
    Public Property (Inherited from System.Windows.DependencyObject)
    Public PropertyGets or sets the resource dictionary to use for the theme.  
    Top
    Public Methods
     NameDescription
    Public MethodOverloaded.  (Inherited from System.Windows.DependencyObject)
    Public Method (Inherited from System.Windows.DependencyObject)
    Public Method (Inherited from System.Windows.DependencyObject)
    Public Method (Inherited from System.Windows.DependencyObject)
    Public Method (Inherited from System.Windows.DependencyObject)
    Public Method (Inherited from System.Windows.DependencyObject)
    Public Method (Inherited from System.Windows.DependencyObject)
    Public MethodRetrieves a value indicating whether the specified view type is supported by the theme. (Inherited from Xceed.Wpf.DataGrid.Views.Theme)
    Public Method (Inherited from System.Windows.DependencyObject)
    Public Method (Inherited from System.Windows.DependencyObject)
    Public MethodOverloaded.  (Inherited from System.Windows.DependencyObject)
    Top
    Protected Methods
     NameDescription
    Protected MethodCreates the ThemeKey to be used with this Theme. (Inherited from Xceed.Wpf.DataGrid.Views.Theme)
    Protected Method (Inherited from System.Windows.DependencyObject)
    Protected Internal Method (Inherited from System.Windows.DependencyObject)
    Top
    Extension Methods
     NameDescription
    Public Extension MethodOverloaded. 
    Top
    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