VisualElement.GetIsLegacyColorModeEnabled Yöntem

Tanım

Aşırı Yüklemeler

GetIsLegacyColorModeEnabled(IPlatformElementConfiguration<Windows,VisualElement>)

Eski renk modunun etkin olup olmadığını denetleyen bir Boole değeri döndürür.

GetIsLegacyColorModeEnabled(BindableObject)

Eski renk modunun etkin olup olmadığını denetleyen bir Boole değeri döndürür.

GetIsLegacyColorModeEnabled(IPlatformElementConfiguration<Windows,VisualElement>)

Eski renk modunun etkin olup olmadığını denetleyen bir Boole değeri döndürür.

public static bool GetIsLegacyColorModeEnabled (this Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Windows,Xamarin.Forms.VisualElement> config);
static member GetIsLegacyColorModeEnabled : Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Windows, Xamarin.Forms.VisualElement> -> bool

Parametreler

config
IPlatformElementConfiguration<Windows,VisualElement>

Platform yapılandırmasını, eski renk modu döndürmek için bir görsel öğe için.

Döndürülenler

Boolean

true eski renk modu etkin olduğunda. Aksi takdirde, false.

Şunlara uygulanır

GetIsLegacyColorModeEnabled(BindableObject)

Eski renk modunun etkin olup olmadığını denetleyen bir Boole değeri döndürür.

public static bool GetIsLegacyColorModeEnabled (Xamarin.Forms.BindableObject element);
static member GetIsLegacyColorModeEnabled : Xamarin.Forms.BindableObject -> bool

Parametreler

element
BindableObject

Görsel öğe olan eski renk döndürülecek modu.

Döndürülenler

Boolean

true eski renk modu etkin olduğunda. Aksi takdirde, false.

Şunlara uygulanır