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


In This Topic
    MaterialDesignResourceDictionary Class
    In This Topic
    The ResourceDictionary used to theme the Toolkit 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 
    Remarks
    Before instantiating this class, make sure to instantiate a MaterialDesignResourceDictionary from Xceed.Wpf.Themes.MaterialDesign to set the mode (Light or Dark), along with the Primary and Accent colors of the MaterialDesign theme.
    Inheritance Hierarchy

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

    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