ThemeResourceKey Class

Definition

Represents a key used in a ResourceDictionary for accessing theme color resources. Theme color resources include brushes and colors associated with a given color category and color name.

public ref class ThemeResourceKey sealed
public ref class ThemeResourceKey sealed
class ThemeResourceKey sealed
public sealed class ThemeResourceKey
type ThemeResourceKey = class
Public NotInheritable Class ThemeResourceKey
Inheritance
ThemeResourceKey

Constructors

ThemeResourceKey(Guid, String, ThemeResourceKeyType)

Initializes a new instance of the ThemeResourceKey class.

Properties

Category

Gets the category associated with this key. A combination of the name, category, and key type uniquely identify the resource being referenced by this key.

KeyType

Gets the type of resource specified by this key. A combination of the name, category, and key type uniquely identify the resource being referenced by this key.

Name

Gets the name associated with this key. A combination of the name, category, and key type uniquely identify the resource being referenced by this key.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

GetHashCode()

Serves as a hash function for a particular type.

ToString()

Applies to