ThemeResourceKey
Class
ThemeResourceKey class is used by the theming mechanism. Every visual control has a control template with different ThemeResourceKey for each theme.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.dll
Syntax:
C#
public class ThemeResourceKey : ResourceKey
Inheritance: objectThemeResourceKey
Constructors
Initializes a new instance of the ThemeResourceKey class.
C#
public ThemeResourceKey()
Initializes a new instance of the ThemeResourceKey class.
Initializes a new instance of the ThemeResourceKey class.
Properties
Gets an assembly object that indicates which assembly's dictionary to look in for the value associated with this key.
C#
public override Assembly Assembly { get; }
Gets or sets the type of the visual element.
C#
public Type ElementType { get; set; }
The type of the visual element.
Gets or sets the resource id.
C#
public object ResourceId { get; set; }
The resource id.
Methods
Gets the default style key.