VisualElement.BackgroundColor プロパティ

定義

要素の背景を Color 塗りつぶす を取得または設定します。 これはバインド可能なプロパティです。

public:
 property Microsoft::Maui::Graphics::Color ^ BackgroundColor { Microsoft::Maui::Graphics::Color ^ get(); void set(Microsoft::Maui::Graphics::Color ^ value); };
public Microsoft.Maui.Graphics.Color BackgroundColor { get; set; }
member this.BackgroundColor : Microsoft.Maui.Graphics.Color with get, set
Public Property BackgroundColor As Color

プロパティ値

VisualElement の背景を塗りつぶすために使用される色。

注釈

背景のグラデーションなどの場合は、 を使用します Background

適用対象