Share via


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

戻り値

開発者がさらにメソッド呼び出しを実行できる Fluent オブジェクト。

適用対象