Freigeben über


Shell.SetBackgroundColor(BindableObject, Color) Methode

Definition

Legt die Hintergrundfarbe im Shell-Chrom fest. Die Farbe wird hinter dem Shell-Inhalt nicht ausgefüllt.

public:
 static void SetBackgroundColor(Microsoft::Maui::Controls::BindableObject ^ obj, Microsoft::Maui::Graphics::Color ^ value);
public static void SetBackgroundColor (Microsoft.Maui.Controls.BindableObject obj, Microsoft.Maui.Graphics.Color value);
static member SetBackgroundColor : Microsoft.Maui.Controls.BindableObject * Microsoft.Maui.Graphics.Color -> unit
Public Shared Sub SetBackgroundColor (obj As BindableObject, value As Color)

Parameter

obj
BindableObject

Das Objekt, auf das die Hintergrundfarbe festgelegt ist.

value
Color

Die Hintergrundfarbe für das Shell-Chrom.

Gilt für: