RadioGroup.Check(Int32) Method

Definition

Sets the selection to the radio button whose identifier is passed in parameter.

[Android.Runtime.Register("check", "(I)V", "GetCheck_IHandler")]
public virtual void Check (int id);
[<Android.Runtime.Register("check", "(I)V", "GetCheck_IHandler")>]
abstract member Check : int -> unit
override this.Check : int -> unit

Parameters

id
Int32

the unique id of the radio button to select in this group

Attributes

Remarks

Sets the selection to the radio button whose identifier is passed in parameter. Using -1 as the selection identifier clears the selection; such an operation is equivalent to invoking #clearCheck().

Java documentation for android.widget.RadioGroup.check(int).

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

See also