SystemColors.ActiveCaptionBrushKey 屬性

定義

取得用來繪製作用中視窗標題列背景之 SolidColorBrushResourceKey

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

屬性值

ResourceKey

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

備註

ActiveCaptionBrushKey使用 建立使用中輔助字幕系統筆刷的動態參考。 如果筆刷已變更,這個動態參考會自動更新。 若要建立不會自動更新的靜態參考,請使用 ActiveCaptionBrush

XAML Attribute Usage

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

XAML 值

x:Static
x:Static 標記延伸

適用於

另請參閱