ThemeResourceKey 類別

定義

表示用於存取主題色彩資源的資源字典中所使用的索引鍵。Represents a key used in a Resource Dictionary 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
繼承
ThemeResourceKey

建構函式

ThemeResourceKey(Guid, String, ThemeResourceKeyType)

初始化 ThemeResourceKey 類別的新執行個體。Initializes a new instance of the ThemeResourceKey class.

屬性

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.

方法

Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

GetHashCode()

以特定類型的雜湊函式進行服務。Serves as a hash function for a particular type.

ToString()

適用於