Share via


VisualElement.SetIsLegacyColorModeEnabled 메서드

정의

오버로드

SetIsLegacyColorModeEnabled(BindableObject, Boolean)

레거시 색 모드를 켜고 끕니다.

SetIsLegacyColorModeEnabled(IPlatformElementConfiguration<Windows,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<Windows,VisualElement>, Boolean)

레거시 색 모드를 켜고 끕니다.

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

매개 변수

config
IPlatformElementConfiguration<Windows,VisualElement>

레거시 색 모드를 반환할 시각적 요소에 대한 플랫폼 구성입니다.

value
System.Boolean

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

반환

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

적용 대상