VisualElement.SetIsLegacyColorModeEnabled Yöntem

Tanım

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

config
IPlatformElementConfiguration<Windows,VisualElement>

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

IPlatformElementConfiguration<Windows,VisualElement>

Bir fluent nesnesi üzerinde Geliştirici yöntem çağrıları daha da yapabilir.

Şunlara uygulanır