SystemColors.GradientActiveCaptionBrushKey 屬性

定義

取得 SolidColorBrushResourceKey,這是使用中視窗標題列之漸層的右端色彩。

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

屬性值

ResourceKey

SolidColorBrush 的資源索引鍵,這是使用中視窗標題列之漸層的右端色彩。 這個筆刷的 IsFrozen 屬性為 true,所以無法修改。

備註

GradientActiveCaptionBrushKey使用 建立系統筆刷的動態參考,以繪製使用中視窗標題列漸層右側的色彩。 如果筆刷已變更,這個動態參考會自動更新。 若要建立不會自動更新的靜態參考,請使用 GradientActiveCaptionBrush

XAML Attribute Usage

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

XAML 值

x:Static
x:Static 標記延伸

適用於

另請參閱