ApplicationThemeHelper Class
An abstract class that provides access to an application’s theme settings.
Namespace: DevExpress.Xpf.Core
Assembly: DevExpress.Xpf.Core.v24.2.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
Remarks
Use the static ApplicationThemeHelper.ApplicationThemeName property to get or set the name of the theme applied to the entire application. The default value is Office2019Colorful
. If the ApplicationThemeHelper.ApplicationThemeName property is set to None
, the DeepBlue
theme is applied to the application.
Refer to the List of DevExpress WPF Themes topic for more information.
Tip
Use the static ApplicationThemeHelper.SaveApplicationThemeName method to save the current theme name (defined using the static ApplicationThemeHelper.ApplicationThemeName property) to the application configuration file. To retrieve the theme name from the configuration file, call the static ApplicationThemeHelper.UpdateApplicationThemeName method.