ToolBarTray.Background 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定一筆刷子來作為背景色 ToolBarTray。
public:
property System::Windows::Media::Brush ^ Background { System::Windows::Media::Brush ^ get(); void set(System::Windows::Media::Brush ^ value); };
public System.Windows.Media.Brush Background { get; set; }
member this.Background : System.Windows.Media.Brush with get, set
Public Property Background As Brush
屬性值
一把用來畫背景色 ToolBarTray的畫筆。
範例
以下範例使用屬性 Background 設定畫筆為 的背景色 ToolBarTray。
<ToolBarTray Background="White" IsLocked="True">
備註
相依財產資訊
| 項目 | 價值 |
|---|---|
| 識別碼欄位 | BackgroundProperty |
元資料屬性設為 true |
AffectsRender、SubPropertiesDoNotAffectRender |