Sdílet prostřednictvím


ViewStructure.SetCheckable(Boolean) Method

Definition

Set the checkable state of this view, such as whether it implements the android.widget.Checkable interface.

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

Parameters

state
Boolean
Attributes

Remarks

Set the checkable state of this view, such as whether it implements the android.widget.Checkable interface.

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