VisualElement.SetIsLegacyColorModeEnabled メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
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>
パラメーター
操作を実行する要素を含むプラットフォーム固有の構成。
- value
- System.Boolean
レガシ カラー モードを有効にする場合は true
。 それ以外の場合は false
。
戻り値
開発者がさらにメソッド呼び出しを実行できる Fluent オブジェクト。