Freigeben über


Shell.GetForegroundColor(BindableObject) Methode

Definition

Ruft die Vordergrundfarbe für die Registerkartenleiste ab.

public:
 static Microsoft::Maui::Graphics::Color ^ GetForegroundColor(Microsoft::Maui::Controls::BindableObject ^ obj);
public static Microsoft.Maui.Graphics.Color GetForegroundColor (Microsoft.Maui.Controls.BindableObject obj);
static member GetForegroundColor : Microsoft.Maui.Controls.BindableObject -> Microsoft.Maui.Graphics.Color
Public Shared Function GetForegroundColor (obj As BindableObject) As Color

Parameter

obj
BindableObject

Das Objekt, auf das die Vordergrundfarbe festgelegt ist.

Gibt zurück

Die Vordergrundfarbe für die Registerkartenleiste.

Gilt für: