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


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

    Public Constructors
    Public Properties
     NameDescription
    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 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 Property (Inherited from System.Windows.ResourceDictionary)
    Public PropertyGets or sets a value indicating whether styles in a theme resource dictionary will be applied implicitly or explicitly. (Inherited from Xceed.Wpf.ListBox.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