VisualElement.BackgroundColor Właściwość

Definicja

Pobiera lub ustawia obiekt Color , który wypełni tło elementu. Jest to właściwość, która można powiązać.

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

Wartość właściwości

Kolor używany do wypełniania tła elementu VisualElement.

Uwagi

W przypadku gradientów tła i takich użyj polecenia Background.

Dotyczy