[Root] / Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid.Views Namespace / DictionaryTheme Class


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
    Supported Frameworks

    .NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.

    .NET Framework: net20, net35, net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.

    See Also