[Root] / Xceed.Wpf.ListBox.Themes.MaterialDesign Assembly / Xceed.Wpf.ListBox.Themes.MaterialDesign Namespace / MaterialDesignResourceDictionary Class


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
    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: net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.

    See Also