SystemColors.InactiveCaptionTextBrushKey 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
會取得 ResourceKey the , SolidColorBrush 因為它會繪製非活躍視窗標題列的文字。
public:
static property System::Windows::ResourceKey ^ InactiveCaptionTextBrushKey { System::Windows::ResourceKey ^ get(); };
public static System.Windows.ResourceKey InactiveCaptionTextBrushKey { get; }
static member InactiveCaptionTextBrushKey : System.Windows.ResourceKey
Public Shared ReadOnly Property InactiveCaptionTextBrushKey As ResourceKey
屬性值
資源鍵 SolidColorBrush 則是用來繪製非活躍視窗標題欄文字的。 此刷子的 IsFrozen 性質為 true,因此無法被修改。
備註
使用 來 InactiveCaptionTextBrushKey 建立一個動態參考,指向畫筆,繪製非活躍視窗標題欄的文字。 如果筆刷被更改,這個動態參考會自動更新。 若要建立一個不會自動更新的靜態參考,請使用 InactiveCaptionTextBrush。
XAML 屬性使用方式
<object property="{DynamicResource {x:Static SystemColors.InactiveCaptionTextBrushKey}}" />
XAML 值
x:靜態x:靜態標記擴充功能。