SystemColors.InactiveCaptionBrushKey 屬性

定義

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

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

屬性值

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

備註

InactiveCaptionBrushKey使用 建立動態參考,以繪製非使用中視窗標題列的背景。 如果筆刷已變更,此動態參考就會自動更新。 若要建立不會自動更新的靜態參考,請使用 InactiveCaptionBrush

XAML Attribute Usage

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

XAML 值

x:Static
x:Static 標記延伸

適用於

另請參閱