Android Guides | Samples

Android.Widget.RadioGroup Class

See Also: RadioGroup

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

The members of Android.Widget.RadioGroup are listed below.

See Also: LinearLayout

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

Public Events