VisualElement.SetIsLegacyColorModeEnabled Yöntem

Tanım

Aşırı Yüklemeler

SetIsLegacyColorModeEnabled(BindableObject, Boolean)

Eski renk modunu ayarlar.

SetIsLegacyColorModeEnabled(IPlatformElementConfiguration<iOS,VisualElement>, Boolean)

Eski renk modunu ayarlar.

SetIsLegacyColorModeEnabled(BindableObject, Boolean)

Eski renk modunu ayarlar.

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

Parametreler

element
BindableObject

İşlemin gerçekleştirileceği platforma özgü öğe.

value
Boolean

trueEski renk modunu etkinleştirmek için. Tersi durumda false.

Şunlara uygulanır

SetIsLegacyColorModeEnabled(IPlatformElementConfiguration<iOS,VisualElement>, Boolean)

Eski renk modunu ayarlar.

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>

Parametreler

config
IPlatformElementConfiguration<iOS,VisualElement>

İşlemin gerçekleştirileceği öğeyi içeren platforma özgü yapılandırma.

value
Boolean

trueEski renk modunu etkinleştirmek için. Tersi durumda false.

Döndürülenler

IPlatformElementConfiguration<iOS,VisualElement>

Geliştiricinin daha fazla yöntem çağrısı yapabileceği, akıcı bir nesne.

Şunlara uygulanır