VisualElement.SetIsLegacyColorModeEnabled Yöntem

Tanım

Aşırı Yüklemeler

SetIsLegacyColorModeEnabled(BindableObject, Boolean)

Eski renk modunun etkin olup olmadığını denetleyen bir Boole değeri ayarlar.

SetIsLegacyColorModeEnabled(IPlatformElementConfiguration<Android,VisualElement>, Boolean)

Eski renk modunun etkin olup olmadığını denetleyen bir Boole değeri ayarlar.

SetIsLegacyColorModeEnabled(BindableObject, Boolean)

Eski renk modunun etkin olup olmadığını denetleyen bir Boole değeri ayarlar.

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

Parametreler

element
BindableObject
value
Boolean

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

Şunlara uygulanır

SetIsLegacyColorModeEnabled(IPlatformElementConfiguration<Android,VisualElement>, Boolean)

Eski renk modunun etkin olup olmadığını denetleyen bir Boole değeri ayarlar.

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

Parametreler

config
IPlatformElementConfiguration<Android,VisualElement>

Android platformunda, eski renk modu durumu ayarlanacak olan görsel öğe için platform yapılandırması.

value
Boolean

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

Döndürülenler

IPlatformElementConfiguration<Android,VisualElement>

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

Şunlara uygulanır