> For the complete documentation index, see [llms.txt](https://docs.wisej.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wisej.com/docs/controls/buttons/radiobutton.md).

# RadioButton

The RadioButton control can display text, an `Image`, or both.

When a user selects one RadioButton within a group, the others clear automatically. All RadioButton controls in a given container, such as a `Form`, constitute a group. To create multiple groups on one form, place each group in its own container, such as a `GroupBox` or `Panel` control.

RadioButton and CheckBox controls serve similar functions: they offer choices users can select or clear. The key difference is that multiple CheckBox controls can be selected simultaneously, while RadioButtons are mutually exclusive.

Use the `Checked` property to get or set the state of a RadioButton. The control's appearance can be set to a toggle-style button or standard option button using the `Appearance` property.

{% hint style="info" %}
For a full list of properties, methods and events see the [API documentation.](http://docs.wisej.com/api)
{% endhint %}

## Features

### Selection

When placed into a container, only one RadioButton control can be selected at a time.

![RadioButton control demonstrating mutually exclusive selection](/files/-MdTlF4tQSn3Br147xw2)

{% hint style="info" %}
If the `AutoCheck` property is set to false, more than one radio button might be selected within the container.
{% endhint %}

### Alignment

The RadioButton icon and label can be positioned anywhere in relation to each other using the `CheckAlign` and `TextAlign` properties.

![RadioButton control showing various alignment options](/files/-MdToBwJKUJW9dxNmx-H)

## Advanced

### JavaScript Widget

| Item             | Description                                                                                                         |
| ---------------- | ------------------------------------------------------------------------------------------------------------------- |
| Class name       | "wisej.web.RadioButton"                                                                                             |
| Theme appearance | "radiobutton", see [Themes](https://docs.wisej.com/theme-builder/theme-elements/elements).                          |
| Child components | "icon" is the radiobutton icon, "label" is the text. See [JavaScript](/docs/concepts/javascript-object-model.md).   |
| Source code      | [https://github.com/iceteagroup/wisej-js](https://github.com/iceteagroup/wisej-js/blob/master/wisej.web.TextBox.js) |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.wisej.com/docs/controls/buttons/radiobutton.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
