Sdílet prostřednictvím


VisualElement.GetIsLegacyColorModeEnabled Metoda

Definice

Přetížení

GetIsLegacyColorModeEnabled(IPlatformElementConfiguration<Windows,VisualElement>)

Vrátí logickou hodnotu, která určuje, jestli je povolený starší barevný režim.

GetIsLegacyColorModeEnabled(BindableObject)

Vrátí logickou hodnotu, která určuje, jestli je povolený starší barevný režim.

GetIsLegacyColorModeEnabled(IPlatformElementConfiguration<Windows,VisualElement>)

Vrátí logickou hodnotu, která určuje, jestli je povolený starší barevný režim.

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

Parametry

config
IPlatformElementConfiguration<Windows,VisualElement>

Konfigurace platformy pro vizuální prvek, jehož starší barevný režim se má vrátit.

Návraty

System.Boolean

true pokud je povolený starší barevný režim. V opačném případě hodnota false.

Platí pro

GetIsLegacyColorModeEnabled(BindableObject)

Vrátí logickou hodnotu, která určuje, jestli je povolený starší barevný režim.

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

Parametry

element
BindableObject

Vizuální prvek, jehož starší barevný režim se má vrátit.

Návraty

System.Boolean

true pokud je povolený starší barevný režim. V opačném případě hodnota false.

Platí pro