SystemColors.ScrollBarBrushKey 屬性

定義

得到ResourceKeySolidColorBrush那個會畫出滾動條背景的部分。

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

屬性值

那個用來繪製捲軸背景的資源金鑰 SolidColorBrush 。 此刷子的 IsFrozen 性質為 true,因此無法被修改。

備註

用 來 ScrollBarBrushKey 建立一個動態參考,指向繪製滾動條背景的畫筆。 如果筆刷被更改,這個動態參考會自動更新。 若要建立一個不會自動更新的靜態參考,請使用 ScrollBarBrush

XAML 屬性使用方式

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

XAML 值

x:靜態x:靜態標記擴充功能

適用於

另請參閱