SystemColors.WindowBrushKey 屬性

定義

取得繪製視窗工作區背景之 SolidColorBrushResourceKey

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

屬性值

繪製視窗工作區背景之 SolidColorBrush 的資源索引鍵。 這個筆刷的 IsFrozen 屬性為 true,所以無法修改。

備註

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

XAML Attribute Usage

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

XAML 值

x:Static
x:Static 標記延伸

適用於

另請參閱