|            |
|------------|
| RadioGroup |

Xojo provides a <span class="title-ref">RadioGroup</span> control for desktop and web projects:

- `DesktopRadioGroup</api/user_interface/desktop/desktopradiogroup>`
- `WebRadioGroup</api/user_interface/web/webradiogroup>`

<div class="tip">

<div class="title">

Tip

</div>

In iOS apps, the common practice is to have the user navigate to another `Screen</api/user_interface/mobile/mobilescreen>` that contains a `iOSMobileTable</api/ios/iosmobiletable>`.

</div>

# Common members

These events, methods and properties are both common amongst the desktop, mobile and web versions of the control and are the most commonly used. See the individual controls for more members and details.

## Events

| Name             | Description                            |
|------------------|----------------------------------------|
| SelectionChanged | The radio button selected has changed. |

## Methods

| Name         | Description                                                                                        |
|--------------|----------------------------------------------------------------------------------------------------|
| Add          | Adds the radio button passed to the <span class="title-ref">RadioGroup</span>.                     |
| AddAt        | Adds the radio button passed to the <span class="title-ref">RadioGroup</span> at the index passed. |
| Count        | Returns the number of radio buttons in the <span class="title-ref">RadioGroup</span>.              |
| ItemAt       | Returns the radio button at the index passed.                                                      |
| RemoveAll    | Removes all radio buttons from the <span class="title-ref">RadioGroup</span>.                      |
| RemoveAt     | Removes the radio button at the index passed from the <span class="title-ref">RadioGroup</span>.   |
| SelectedItem | The radio button control that is selected.                                                         |

## Properties

| Name          | Description                             |
|---------------|-----------------------------------------|
| SelectedIndex | The index of the selected radio button. |

<div class="seealso">

`DesktopRadioGroup</api/user_interface/desktop/desktopradiogroup>` and `WebRadioGroup</api/user_interface/web/webradiogroup>`

</div>
