Shell.GetBackgroundColor(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 Hintergrundfarbe im Shell-Chrom ab.
public:
static Microsoft::Maui::Graphics::Color ^ GetBackgroundColor(Microsoft::Maui::Controls::BindableObject ^ obj);
public static Microsoft.Maui.Graphics.Color GetBackgroundColor (Microsoft.Maui.Controls.BindableObject obj);
static member GetBackgroundColor : Microsoft.Maui.Controls.BindableObject -> Microsoft.Maui.Graphics.Color
Public Shared Function GetBackgroundColor (obj As BindableObject) As Color
Parameter
- obj
- BindableObject
Das Objekt, auf das die Hintergrundfarbe festgelegt ist.
Gibt zurück
Die Hintergrundfarbe aus dem Shell-Chrom.
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.