SystemColors.ControlTextBrushKey 屬性

定義

取得繪製 3D 顯示項目內文字之 SolidColorBrushResourceKey

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

屬性值

ResourceKey

繪製 3D 顯示項目內文字之 SolidColorBrush 的資源索引鍵。 這個筆刷的 IsFrozen 屬性為 true,所以無法修改。

備註

ControlTextBrushKey使用 建立系統筆刷的動態參考,以繪製立體顯示專案中的文字。 如果筆刷已變更,這個動態參考會自動更新。 若要建立不會自動更新的靜態參考,請使用 ControlTextBrush

XAML Attribute Usage

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

XAML 值

x:Static
x:Static 標記延伸

適用於

另請參閱