Compartir por


ToolBarTray.Background Propiedad

Definición

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

Pincel que se va a usar para el color de fondo de ToolBarTray.

Ejemplos

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

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

Comentarios

Información de la propiedad dependency

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

Se aplica a

Consulte también