Xceed Toolkit Plus for WPF v5.1 Documentation
Xceed.Wpf.Themes.MaterialDesign Assembly / Xceed.Wpf.Themes.MaterialDesign Namespace / MaterialDesignResourceDictionary Class
Members


In This Topic
    MaterialDesignResourceDictionary Class
    In This Topic
    The ResourceDictionary used to theme the basic controls in MaterialDesign.
    Syntax
    'Declaration
     
    <DefaultMemberAttribute("Item")>
    <LocalizabilityAttribute(LocalizationCategory.Ignore)>
    <AmbientAttribute()>
    <UsableDuringInitializationAttribute(True)>
    Public Class MaterialDesignResourceDictionary 
       Inherits Xceed.Wpf.Themes.ThemeResourceDictionary
    'Usage
     
    Dim instance As MaterialDesignResourceDictionary
    [DefaultMember("Item")]
    [Localizability(LocalizationCategory.Ignore)]
    [Ambient()]
    [UsableDuringInitialization(true)]
    public class MaterialDesignResourceDictionary : Xceed.Wpf.Themes.ThemeResourceDictionary 
    Inheritance Hierarchy

    System.Object
       System.Windows.ResourceDictionary
          Xceed.Wpf.Themes.ThemeResourceDictionary
             Xceed.Wpf.Themes.MaterialDesign.MaterialDesignResourceDictionary

    Public Constructors
    Public Properties
     NameDescription
    Public PropertyGets or sets the accent color used for the controls in MaterialDesign. The default setting is DarkRed.  
    Public Property (Inherited from System.Windows.ResourceDictionary)
    Public Property (Inherited from System.Windows.ResourceDictionary)
    Public Property (Inherited from System.Windows.ResourceDictionary)
    Public PropertyGets or sets if the mode for the controls in MaterialDesign is dark or light. When set to true, the mode is dark; when set to false, the mode is light. The default setting is true.  
    Public Property (Inherited from System.Windows.ResourceDictionary)
    Public Property (Inherited from System.Windows.ResourceDictionary)
    Public Property (Inherited from System.Windows.ResourceDictionary)
    Public Property (Inherited from System.Windows.ResourceDictionary)
    Public PropertyOverridden.   
    Public Property (Inherited from System.Windows.ResourceDictionary)
    Public PropertyGets or sets the primary color used for the controls in MaterialDesign. The default is DarkRed.  
    Public Property (Inherited from System.Windows.ResourceDictionary)
    Public PropertyGets or sets the mode that will be used by the theme resource dictionary. (Inherited from Xceed.Wpf.Themes.ThemeResourceDictionary)
    Public Property (Inherited from System.Windows.ResourceDictionary)
    Top
    Public Methods
    Protected Methods
     NameDescription
    Protected Method (Inherited from System.Windows.ResourceDictionary)
    Protected MethodOverridden.   
    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