Class
ThemeManager

This class supports the Telerik theming infrastructure and is not intended to be used directly from your code.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.dll

Syntax:

cs-api-definition
public static class ThemeManager

Inheritance: objectThemeManager

Fields

StandardThemeNames

Contains the names of all common themes - used for the QSF Theme dropdown and IntelliSense.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Security", "CA2104:DoNotDeclareReadOnlyMutableReferenceTypes")]
public static readonly ReadOnlyCollection<string> StandardThemeNames

Field Value

ReadOnlyCollection<string>

StandardThemes

Contains all standard themes.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Security", "CA2104:DoNotDeclareReadOnlyMutableReferenceTypes")]
public static readonly Dictionary<string, Theme> StandardThemes

Field Value

Dictionary<string, Theme>

Methods

FromName(string)

Returns a standard theme with the specified name. Fallbacks to the default theme if a standard theme was not found.

Declaration

cs-api-definition
public static Theme FromName(string themeName)

Parameters

themeName

string

Name of the theme.

Returns

Theme