SystemColors.WindowTextBrushKey 屬性

定義

為繪製用戶端視窗區域文字的 SolidColorBrush 取得 ResourceKey

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

屬性值

ResourceKey

繪製用戶端視窗區域文字之 SolidColorBrush 的資源索引鍵。 這個筆刷的 IsFrozen 屬性為 true,所以無法修改。

備註

WindowTextBrushKey使用 建立筆刷的動態參考,以繪製視窗工作區中的文字。 如果筆刷已變更,此動態參考就會自動更新。 若要建立不會自動更新的靜態參考,請使用 WindowTextBrush

XAML Attribute Usage

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

XAML 值

x:Static
x:Static 標記延伸

適用於

另請參閱