ApplicationThemeHelper Class
An abstract class that provides access to an application’s theme settings.
Namespace: DevExpress.Xpf.Core
Assembly: DevExpress.Data.v18.1.dll
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 “Office2016White”. If the ApplicationThemeHelper.ApplicationThemeName property is set to “None”, the “DeepBlue” theme is applied to the application.
To learn more, see List of DevExpress WPF Themes.
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.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the ApplicationThemeHelper class.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.