VisualElement.Background Propriété

Définition

Obtient ou définit le Brush qui sera utilisé pour remplir l’arrière-plan d’un élément. Il s’agit d’une propriété pouvant être liée.

public:
 property Microsoft::Maui::Controls::Brush ^ Background { Microsoft::Maui::Controls::Brush ^ get(); void set(Microsoft::Maui::Controls::Brush ^ value); };
[System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Controls.BrushTypeConverter))]
public Microsoft.Maui.Controls.Brush Background { get; set; }
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Controls.BrushTypeConverter))>]
member this.Background : Microsoft.Maui.Controls.Brush with get, set
Public Property Background As Brush

Valeur de propriété

Attributs

S’applique à