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.

C++/CX
public ref class ThemeResourceKey sealed
Inheritance
ThemeResourceKey

Constructors

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

Product Versions
Visual Studio SDK 2015, 2017, 2019, 2022