Skip to main content

ApplicationThemeHelper Members

An abstract class that provides access to an application’s theme settings.

Properties

Name Description
ApplicationThemeName static Gets or sets the name of the theme applied to the entire application.
ConfigurationUserLevel static Gets or sets where to save the application theme name.
UseDefaultSvgImages static Gets or sets whether to display vector or bitmap icons within WPF controls.
UseLegacyDefaultTheme static Specifies whether the application should use the legacy default theme (“DeepBlue”).

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
Preload(PreloadCategories[]) static Preloads theme resources for the specified controls.
Preload(Func<UserControl>) static Preloads theme resources for the view specified by the UserControl and allows you to initialize this view before the preload.
Preload<T>(Boolean) static Preloads theme resources for the view specified by the UserControl.
PreloadAsync(PreloadCategories[]) static Asynchronously preloads theme resources for the specified controls.
PreloadAsync(Func<UserControl>) static Asynchronously preloads theme resources for the view specified by the UserControl and allows you to initialize this view before the preload.
PreloadAsync<T>() static Asynchronously preloads theme resources for the view specified by the UserControl.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
SaveApplicationThemeName() static Saves the current theme name to the application configuration file.
ToString() Returns a string that represents the current object. Inherited from Object.
UpdateApplicationThemeName() static Loads the theme name from the application configuration file.

Events

Name
ApplicationThemeNameChanged static
See Also