SystemColors.WindowColorKey 屬性

定義

取得視窗工作區之背景 ColorResourceKey

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

屬性值

ResourceKey

視窗工作區之背景 Color 的資源索引鍵。

備註

WindowColorKey使用 建立視窗系統色彩的動態參考。 如果色彩變更,此動態參考會自動更新。 若要建立不會自動更新的靜態參考,請使用 WindowColor

XAML Attribute Usage

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

XAML 值

x:Static
x:Static 標記延伸

適用於

另請參閱