ToolBarTray.Background プロパティ

定義

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

プロパティ値

Brush

ToolBarTray の背景色に使用するブラシ。

次の例では、プロパティをBackground使用して、ブラシの背景色を設定します。ToolBarTray

<ToolBarTray Background="White" IsLocked="True">

注釈

依存プロパティ情報

識別子フィールド BackgroundProperty
に設定されたメタデータ プロパティ true AffectsRender, SubPropertiesDoNotAffectRender

適用対象

こちらもご覧ください