VisualElement.SetIsLegacyColorModeEnabled Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
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
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
Geliştiricinin daha fazla yöntem çağrısı yapabileceği, akıcı bir nesne.