PredefinedThemePalettes Class
Lists the predefined theme palettes.
Namespace: DevExpress.Xpf.Core
Assembly: DevExpress.Xpf.Core.v24.2.dll
NuGet Package: DevExpress.Wpf.Core
#Declaration
#Remarks
You can use predefined palettes with the following themes:
Theme Family | Themes |
---|---|
Windows 10 | Dark, Light |
Office 2019 | Black, Colorful, Dark Gray, White, High |
Visual Studio 2019 | Blue, Dark, Light |
Office 2016 SE | Black, Colorful, Dark Gray, White |
Visual Studio 2017 | Blue, Dark, Light |
#Apply a Palette in Code
- Reference the Mono.cecil NuGet package in your project.
- Call the Theme.RegisterPredefinedPaletteThemes method to enable predefined palettes.
Set the ApplicationThemeHelper.ApplicationThemeName property to the predefined palette name and base theme name combination.
Tip
You can use the Theme.