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 modunu açıp kapatır. |
| SetIsLegacyColorModeEnabled(IPlatformElementConfiguration<Windows,VisualElement>, Boolean) |
Eski renk modunu açıp kapatır. |
SetIsLegacyColorModeEnabled(BindableObject, Boolean)
Eski renk modunu açıp kapatır.
public static void SetIsLegacyColorModeEnabled (Xamarin.Forms.BindableObject element, bool value);
static member SetIsLegacyColorModeEnabled : Xamarin.Forms.BindableObject * bool -> unit
Parametreler
- element
- BindableObject
Görsel öğe olan eski renk döndürülecek modu.
- value
- Boolean
true eski renk modunu etkinleştirmek için. Aksi takdirde, false.
Şunlara uygulanır
SetIsLegacyColorModeEnabled(IPlatformElementConfiguration<Windows,VisualElement>, Boolean)
Eski renk modunu açıp kapatır.
public static Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Windows,Xamarin.Forms.VisualElement> SetIsLegacyColorModeEnabled (this Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Windows,Xamarin.Forms.VisualElement> config, bool value);
static member SetIsLegacyColorModeEnabled : Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Windows, Xamarin.Forms.VisualElement> * bool -> Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Windows, Xamarin.Forms.VisualElement>
Parametreler
Platform yapılandırmasını, eski renk modu döndürmek için bir görsel öğe için.
- value
- Boolean
true eski renk modunu etkinleştirmek için. Aksi takdirde, false.
Döndürülenler
Bir fluent nesnesi üzerinde Geliştirici yöntem çağrıları daha da yapabilir.