Partager via


ViewStructure.SetChecked(Boolean) Method

Definition

Set the checked state of this view, such as android.widget.Checkable#isChecked Checkable.isChecked().

[Android.Runtime.Register("setChecked", "(Z)V", "GetSetChecked_ZHandler", ApiSince=23)]
public abstract void SetChecked (bool state);
[<Android.Runtime.Register("setChecked", "(Z)V", "GetSetChecked_ZHandler", ApiSince=23)>]
abstract member SetChecked : bool -> unit

Parameters

state
Boolean
Attributes

Remarks

Set the checked state of this view, such as android.widget.Checkable#isChecked Checkable.isChecked().

Java documentation for android.view.ViewStructure.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