ToolBarTray.Background Propiedad

Definición

Obtiene o establece el pincel que se va a usar para el color de fondo del control 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

Valor de propiedad

Brush

Pincel que se va a utilizar para el color de fondo del control ToolBarTray.

Ejemplos

En el ejemplo siguiente se usa la Background propiedad para establecer el pincel para el color de fondo de .ToolBarTray

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

Comentarios

Información sobre propiedades de dependencia

Campo identificador BackgroundProperty
Propiedades de metadatos establecidas en true AffectsRender, SubPropertiesDoNotAffectRender

Se aplica a

Consulte también