SystemColors.HighlightTextColorKey 屬性

定義

取得ResourceKeyColor選取項目文字的 。

public:
 static property System::Windows::ResourceKey ^ HighlightTextColorKey { System::Windows::ResourceKey ^ get(); };
public static System.Windows.ResourceKey HighlightTextColorKey { get; }
static member HighlightTextColorKey : System.Windows.ResourceKey
Public Shared ReadOnly Property HighlightTextColorKey As ResourceKey

屬性值

選取項目文本的資源鍵 Color

備註

使用 來 HighlightTextColorKey 建立動態參考,指向高亮文字系統的顏色。 如果顏色改變,這個動態參考會自動更新。 若要建立一個不會自動更新的靜態參考,請使用 HighlightTextColor

XAML 屬性使用方式

<object property="{DynamicResource {x:Static SystemColors.HighlightTextColorKey}}"/>

XAML 值

x:靜態x:靜態標記擴充功能

適用於

另請參閱