다음을 통해 공유


VisualElement.SetIsLegacyColorModeEnabled 메서드

정의

오버로드

SetIsLegacyColorModeEnabled(BindableObject, Boolean)

레거시 색 모드를 설정합니다.

SetIsLegacyColorModeEnabled(IPlatformElementConfiguration<iOS,VisualElement>, Boolean)

레거시 색 모드를 설정합니다.

SetIsLegacyColorModeEnabled(BindableObject, Boolean)

레거시 색 모드를 설정합니다.

public static void SetIsLegacyColorModeEnabled (Xamarin.Forms.BindableObject element, bool value);
static member SetIsLegacyColorModeEnabled : Xamarin.Forms.BindableObject * bool -> unit

매개 변수

element
BindableObject

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

value
System.Boolean

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

적용 대상

SetIsLegacyColorModeEnabled(IPlatformElementConfiguration<iOS,VisualElement>, Boolean)

레거시 색 모드를 설정합니다.

public static Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS,Xamarin.Forms.VisualElement> SetIsLegacyColorModeEnabled (this Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS,Xamarin.Forms.VisualElement> config, bool value);
static member SetIsLegacyColorModeEnabled : Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS, Xamarin.Forms.VisualElement> * bool -> Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.iOS, Xamarin.Forms.VisualElement>

매개 변수

config
IPlatformElementConfiguration<iOS,VisualElement>

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

value
System.Boolean

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

반환

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

적용 대상