Share via


CompoundButton.Checked Property

Definition

Changes the checked state of this button.

public virtual bool Checked { [Android.Runtime.Register("isChecked", "()Z", "GetIsCheckedHandler")] get; [Android.Runtime.Register("setChecked", "(Z)V", "GetSetChecked_ZHandler")] set; }
[<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

Implements

Attributes

Remarks

Changes the checked state of this button.

Java documentation for android.widget.CompoundButton.setChecked(boolean).

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