Android.Widget.RadioGroup Class

See Also: RadioGroup Members

Syntax

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

Remarks

This class is used to create a multiple-exclusion scope for a set of radio buttons. Checking one radio button that belongs to a radio group unchecks any previously checked radio button within the same group.

Intially, all of the radio buttons are unchecked. While it is not possible to uncheck a particular radio button, the radio group can be cleared to remove the checked state.

The selection is identified by the unique id of the radio button as defined in the XML layout file.

XML Attributes

See NoType:android/R$styleable;Href=../../../reference/android/R.styleable.html#RadioGroup, NoType:android/R$styleable;Href=../../../reference/android/R.styleable.html#LinearLayout, NoType:android/R$styleable;Href=../../../reference/android/R.styleable.html#ViewGroup, NoType:android/R$styleable;Href=../../../reference/android/R.styleable.html#View

Also see NoType:android/widget/LinearLayout$LayoutParams;Href=../../../reference/android/widget/LinearLayout.LayoutParams.html for layout attributes.

See Also

[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