Freigeben über


VisualElement.GetIsLegacyColorModeEnabled Methode

Definition

Überlädt

GetIsLegacyColorModeEnabled(IPlatformElementConfiguration<Windows,VisualElement>)

Gibt einen booleschen Wert zurück, der steuert, ob der Legacyfarbmodus aktiviert ist.

GetIsLegacyColorModeEnabled(BindableObject)

Gibt einen booleschen Wert zurück, der steuert, ob der Legacyfarbmodus aktiviert ist.

GetIsLegacyColorModeEnabled(IPlatformElementConfiguration<Windows,VisualElement>)

Gibt einen booleschen Wert zurück, der steuert, ob der Legacyfarbmodus aktiviert ist.

public static bool GetIsLegacyColorModeEnabled (this Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Windows,Xamarin.Forms.VisualElement> config);
static member GetIsLegacyColorModeEnabled : Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Windows, Xamarin.Forms.VisualElement> -> bool

Parameter

config
IPlatformElementConfiguration<Windows,VisualElement>

Die Plattformkonfiguration für das visuelle Element, dessen Legacyfarbmodus zurückgegeben werden soll.

Gibt zurück

System.Boolean

true, wenn der Legacyfarbmodus aktiviert ist. Andernfalls false.

Gilt für:

GetIsLegacyColorModeEnabled(BindableObject)

Gibt einen booleschen Wert zurück, der steuert, ob der Legacyfarbmodus aktiviert ist.

public static bool GetIsLegacyColorModeEnabled (Xamarin.Forms.BindableObject element);
static member GetIsLegacyColorModeEnabled : Xamarin.Forms.BindableObject -> bool

Parameter

element
BindableObject

Das visuelle Element, dessen Legacyfarbmodus zurückgegeben werden soll.

Gibt zurück

System.Boolean

true, wenn der Legacyfarbmodus aktiviert ist. Andernfalls false.

Gilt für: