Share via


VisualElement.Background Property

Definition

Gets or sets the Brush which will be used to fill the background of an element. This is a bindable property.

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

Property Value

Attributes

Applies to