Share via


ToolBarTray.Background Propriété

Définition

Obtient ou définit un pinceau pour la couleur d'arrière-plan du 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

Valeur de propriété

Brush

Pinceau à utiliser pour la couleur d'arrière-plan du ToolBarTray.

Exemples

L’exemple suivant utilise la propriété pour définir le Background pinceau pour la couleur d’arrière-plan d’un ToolBarTray.

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

Remarques

Informations sur les propriétés de dépendance

Champ d’identificateur BackgroundProperty
Propriétés de métadonnées définies sur true AffectsRender, SubPropertiesDoNotAffectRender

S’applique à

Voir aussi