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

    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