Udostępnij za pośrednictwem


VisualElement.GetIsLegacyColorModeEnabled Metoda

Definicja

Przeciążenia

GetIsLegacyColorModeEnabled(BindableObject)

Zwraca, czy jest włączony starszy tryb kolorów.

GetIsLegacyColorModeEnabled(IPlatformElementConfiguration<iOS,VisualElement>)

Zwraca, czy jest włączony starszy tryb kolorów.

GetIsLegacyColorModeEnabled(BindableObject)

Źródło:
VisualElement.cs
Źródło:
VisualElement.cs

Zwraca, czy jest włączony starszy tryb kolorów.

public:
 static bool GetIsLegacyColorModeEnabled(Microsoft::Maui::Controls::BindableObject ^ element);
public static bool GetIsLegacyColorModeEnabled (Microsoft.Maui.Controls.BindableObject element);
static member GetIsLegacyColorModeEnabled : Microsoft.Maui.Controls.BindableObject -> bool
Public Function GetIsLegacyColorModeEnabled (element As BindableObject) As Boolean

Parametry

element
BindableObject

Element specyficzny dla platformy, na którym ma być wykonywana operacja.

Zwraca

true jeśli jest włączony starszy tryb kolorów. W przeciwnym razie wartość false.

Dotyczy

GetIsLegacyColorModeEnabled(IPlatformElementConfiguration<iOS,VisualElement>)

Źródło:
VisualElement.cs
Źródło:
VisualElement.cs

Zwraca, czy jest włączony starszy tryb kolorów.

public:
[System::Runtime::CompilerServices::Extension]
 static bool GetIsLegacyColorModeEnabled(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::iOS ^, Microsoft::Maui::Controls::VisualElement ^> ^ config);
public static bool GetIsLegacyColorModeEnabled (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS,Microsoft.Maui.Controls.VisualElement> config);
static member GetIsLegacyColorModeEnabled : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.iOS, Microsoft.Maui.Controls.VisualElement> -> bool
<Extension()>
Public Function GetIsLegacyColorModeEnabled (config As IPlatformElementConfiguration(Of iOS, VisualElement)) As Boolean

Parametry

config
IPlatformElementConfiguration<iOS,VisualElement>

Konfiguracja specyficzna dla platformy zawierająca element, na którym ma być wykonywana operacja.

Zwraca

true jeśli jest włączony starszy tryb kolorów. W przeciwnym razie wartość false.

Dotyczy