다음을 통해 공유


VisualElement.SetIsLegacyColorModeEnabled 메서드

정의

오버로드

SetIsLegacyColorModeEnabled(BindableObject, Boolean)

레거시 색 모드를 사용할 수 있는지 여부를 설정합니다.

SetIsLegacyColorModeEnabled(IPlatformElementConfiguration<iOS,VisualElement>, Boolean)

레거시 색 모드를 사용할 수 있는지 여부를 설정합니다.

SetIsLegacyColorModeEnabled(BindableObject, Boolean)

Source:
VisualElement.cs
Source:
VisualElement.cs

레거시 색 모드를 사용할 수 있는지 여부를 설정합니다.

public:
 static void SetIsLegacyColorModeEnabled(Microsoft::Maui::Controls::BindableObject ^ element, bool value);
public static void SetIsLegacyColorModeEnabled (Microsoft.Maui.Controls.BindableObject element, bool value);
static member SetIsLegacyColorModeEnabled : Microsoft.Maui.Controls.BindableObject * bool -> unit
Public Sub SetIsLegacyColorModeEnabled (element As BindableObject, value As Boolean)

매개 변수

element
BindableObject

작업을 수행할 플랫폼별 요소입니다.

value
Boolean

레거시 색 모드를 사용하도록 설정하려면 true를 선택합니다. 그렇지 않으면 false입니다.

적용 대상

SetIsLegacyColorModeEnabled(IPlatformElementConfiguration<iOS,VisualElement>, Boolean)

Source:
VisualElement.cs
Source:
VisualElement.cs

레거시 색 모드를 사용할 수 있는지 여부를 설정합니다.

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

매개 변수

config
IPlatformElementConfiguration<iOS,VisualElement>

작업을 수행할 요소를 포함하는 플랫폼별 구성입니다.

value
Boolean

레거시 색 모드를 사용하도록 설정하려면 true를 선택합니다. 그렇지 않으면 false입니다.

반환

개발자가 추가 메서드 호출을 수행할 수 있는 유연한 개체입니다.

적용 대상