Android.Widget.RadioButton Class

See Also: RadioButton Members

Syntax

[Android.Runtime.Register("android/widget/RadioButton", DoNotGenerateAcw=true)]
public class RadioButton : CompoundButton

Remarks

A radio button is a two-states button that can be either checked or unchecked. When the radio button is unchecked, the user can press or click it to check it. However, contrary to a Android.Widget.CheckBox, a radio button cannot be unchecked by the user once checked.

Radio buttons are normally used together in a Android.Widget.RadioGroup. When several radio buttons live inside a radio group, checking one radio button unchecks all the others.

See the Radio Buttons guide.

XML attributes

See NoType:android/R$styleable;Href=../../../reference/android/R.styleable.html#CompoundButton, NoType:android/R$styleable;Href=../../../reference/android/R.styleable.html#Button, NoType:android/R$styleable;Href=../../../reference/android/R.styleable.html#TextView, NoType:android/R$styleable;Href=../../../reference/android/R.styleable.html#View

[Android Documentation]

Requirements

Namespace: Android.Widget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1