Freigeben über


VisualElement.SetIsLegacyColorModeEnabled Methode

Definition

Überlädt

SetIsLegacyColorModeEnabled(BindableObject, Boolean)

Legt den Legacyfarbmodus fest.

SetIsLegacyColorModeEnabled(IPlatformElementConfiguration<iOS,VisualElement>, Boolean)

Legt den Legacyfarbmodus fest.

SetIsLegacyColorModeEnabled(BindableObject, Boolean)

Legt den Legacyfarbmodus fest.

public static void SetIsLegacyColorModeEnabled (Xamarin.Forms.BindableObject element, bool value);
static member SetIsLegacyColorModeEnabled : Xamarin.Forms.BindableObject * bool -> unit

Parameter

element
BindableObject

Das plattformspezifische Element, für das der Vorgang ausgeführt werden soll.

value
System.Boolean

true, um den Legacyfarbmodus zu aktivieren. Andernfalls false.

Gilt für:

SetIsLegacyColorModeEnabled(IPlatformElementConfiguration<iOS,VisualElement>, Boolean)

Legt den Legacyfarbmodus fest.

public static Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS,Xamarin.Forms.VisualElement> SetIsLegacyColorModeEnabled (this Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS,Xamarin.Forms.VisualElement> config, bool value);
static member SetIsLegacyColorModeEnabled : Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS, Xamarin.Forms.VisualElement> * bool -> Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS, Xamarin.Forms.VisualElement>

Parameter

config
IPlatformElementConfiguration<iOS,VisualElement>

Die plattformspezifische Konfiguration, die das Element enthält, für das der Vorgang ausgeführt werden soll.

value
System.Boolean

true, um den Legacyfarbmodus zu aktivieren. Andernfalls false.

Gibt zurück

Ein Fluent-Objekt, für das der Entwickler möglicherweise weitere Methodenaufrufe durchführt.

Gilt für: