Partager via


CheckBoxPreference.Checked Property

Definition

Caution

Use the AndroidX Preference Library for consistent behavior across all devices.

[System.Obsolete("Use the AndroidX Preference Library for consistent behavior across all devices.")]
public override bool Checked { [Android.Runtime.Register("isChecked", "()Z", "GetIsCheckedHandler")] get; [Android.Runtime.Register("setChecked", "(Z)V", "GetSetChecked_ZHandler")] set; }
[<System.Obsolete("Use the AndroidX Preference Library for consistent behavior across all devices.")>]
[<get: Android.Runtime.Register("isChecked", "()Z", "GetIsCheckedHandler")>]
[<set: Android.Runtime.Register("setChecked", "(Z)V", "GetSetChecked_ZHandler")>]
member this.Checked : bool with get, set

Property Value

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to