VisualElement.SetIsLegacyColorModeEnabled メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
SetIsLegacyColorModeEnabled(BindableObject, Boolean) |
レガシ カラー モードが有効になっているかどうかを制御するブール値を設定します。 |
SetIsLegacyColorModeEnabled(IPlatformElementConfiguration<Android,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<Android,VisualElement>, Boolean)
レガシ カラー モードが有効になっているかどうかを制御するブール値を設定します。
public static Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Android,Xamarin.Forms.VisualElement> SetIsLegacyColorModeEnabled (this Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Android,Xamarin.Forms.VisualElement> config, bool value);
static member SetIsLegacyColorModeEnabled : Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Android, Xamarin.Forms.VisualElement> * bool -> Xamarin.Forms.IPlatformElementConfiguration<Xamarin.Forms.PlatformConfiguration.Android, Xamarin.Forms.VisualElement>
パラメーター
レガシ カラー モードの状態を設定する Android プラットフォームの視覚要素のプラットフォーム構成。
- value
- System.Boolean
レガシ カラー モードを有効にする場合は true
。 それ以外の場合は false
。
戻り値
開発者がさらにメソッド呼び出しを実行できる Fluent オブジェクト。