VisualElement.Background 屬性

定義

取得或設定 Brush 用來填滿專案背景的 。 這是可繫結屬性。

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

屬性值

屬性

適用於