VisualElement.GetIsLegacyColorModeEnabled Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
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
Konfigurace platformy pro vizuální prvek, jehož starší barevný režim se má vrátit.
Návraty
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
true
pokud je povolený starší barevný režim. V opačném případě hodnota false
.