'DeclarationPublic Enum MaterialDesignColor Inherits System.Enum
'UsageDim instance As MaterialDesignColor
public enum MaterialDesignColor : System.Enum
'DeclarationPublic Enum MaterialDesignColor Inherits System.Enum
'UsageDim instance As MaterialDesignColor
public enum MaterialDesignColor : System.Enum
| Member | Value | Description |
|---|---|---|
| Amber | 0 | |
| Blue | 1 | |
| Cyan | 2 | |
| DarkRed | 3 | |
| DeepOrange | 4 | |
| DeepPurple | 5 | |
| Green | 6 | |
| Indigo | 7 | |
| LightBlue | 8 | |
| LightGreen | 9 | |
| Lime | 10 | |
| Orange | 11 | |
| Pink | 12 | |
| Purple | 13 | |
| Red | 14 | |
| Teal | 15 | |
| Yellow | 16 |
<Application x:Class="WpfApp65.App" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:xcmd="http://schemas.xceed.com/wpf/xaml/material/design/themes" xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit" xmlns:xctt="http://schemas.xceed.com/wpf/xaml/toolkit/themes" xmlns:xcad="http://schemas.xceed.com/wpf/xaml/avalondock" xmlns:xcat="http://schemas.xceed.com/wpf/xaml/avalondock/themes" xmlns:xcdg="http://schemas.xceed.com/wpf/xaml/datagrid" xmlns:xcdt="http://schemas.xceed.com/wpf/xaml/datagrid/themes" xmlns:xclb="http://schemas.xceed.com/wpf/xaml/listbox" xmlns:xclt="http://schemas.xceed.com/wpf/xaml/listbox/themes" StartupUri="MainWindow.xaml"> <Application.Resources> <ResourceDictionary> <ResourceDictionary.MergedDictionaries> <!-- Core Controls for Material Design --> <xcmd:MaterialDesignResourceDictionary IsDark="True" PrimaryColor="DeepOrange" AccentColor="DeepOrange" /> <!-- Toolkit Controls for Material Design --> <xctt:MaterialDesignResourceDictionary /> <!-- AvalonDock for Material design --> <xcat:MaterialDesignResourceDictionary /> <!-- DataGrid for Material design --> <xcdt:MaterialDesignResourceDictionary /> <!-- ListBox for Material design --> <xclt:MaterialDesignResourceDictionary /> </ResourceDictionary.MergedDictionaries> </ResourceDictionary> </Application.Resources> </Application>
System.Object
System.ValueType
System.Enum
Xceed.Wpf.Themes.MaterialDesignColors.MaterialDesignColor
.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.