Shell.GetForegroundColor(BindableObject) Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
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:
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.