# RadioCommand class

Namespace: [Eto.Forms](https://eto.picoe.ca/api/namespace/eto.forms.md) · Assembly: [Eto](https://eto.picoe.ca/api/assembly/eto.md)

```cs
public class RadioCommand : CheckCommand
```

Command for a radio button for a tool or menu item.

**Remarks:** A radio command works by using a [RadioCommand.Controller](https://eto.picoe.ca/api/type/eto.forms.radiocommand/controller.md) which allows you to group the radio buttons together.

## Constructors

- [RadioCommand](https://eto.picoe.ca/api/type/eto.forms.radiocommand/ctor.md): (2 overloads) Initializes a new instance of the [RadioCommand](https://eto.picoe.ca/api/type/eto.forms.radiocommand.md) class.

## Properties

- [Controller](https://eto.picoe.ca/api/type/eto.forms.radiocommand/controller.md): Gets or sets the controller of the radio button group.

## Methods

- [CreateMenuItem](https://eto.picoe.ca/api/type/eto.forms.radiocommand/createmenuitem.md): Creates a new menu item attached to this command.
- [CreateToolItem](https://eto.picoe.ca/api/type/eto.forms.radiocommand/createtoolitem.md): Creates a new tool item attached to this command.

## Inherited Members

- From [CheckCommand](https://eto.picoe.ca/api/type/eto.forms.checkcommand.md): [Checked](https://eto.picoe.ca/api/type/eto.forms.checkcommand/checked.md), [CheckedChanged](https://eto.picoe.ca/api/type/eto.forms.checkcommand/checkedchanged.md), [OnCheckedChanged](https://eto.picoe.ca/api/type/eto.forms.checkcommand/oncheckedchanged.md)
- From [Command](https://eto.picoe.ca/api/type/eto.forms.command.md): [Bindings](https://eto.picoe.ca/api/type/eto.forms.command/bindings.md), [CommandParameter](https://eto.picoe.ca/api/type/eto.forms.command/commandparameter.md), [DataContext](https://eto.picoe.ca/api/type/eto.forms.command/datacontext.md), [DelegatedCommand](https://eto.picoe.ca/api/type/eto.forms.command/delegatedcommand.md), [Enabled](https://eto.picoe.ca/api/type/eto.forms.command/enabled.md), [ID](https://eto.picoe.ca/api/type/eto.forms.command/id.md), [Image](https://eto.picoe.ca/api/type/eto.forms.command/image.md), [IsDataContextChanging](https://eto.picoe.ca/api/type/eto.forms.command/isdatacontextchanging.md), [MenuText](https://eto.picoe.ca/api/type/eto.forms.command/menutext.md), [Parent](https://eto.picoe.ca/api/type/eto.forms.command/parent.md), [Properties](https://eto.picoe.ca/api/type/eto.forms.command/properties.md), [Shortcut](https://eto.picoe.ca/api/type/eto.forms.command/shortcut.md), [Tag](https://eto.picoe.ca/api/type/eto.forms.command/tag.md), [ToolBarText](https://eto.picoe.ca/api/type/eto.forms.command/toolbartext.md), [ToolTip](https://eto.picoe.ca/api/type/eto.forms.command/tooltip.md), [DataContextChanged](https://eto.picoe.ca/api/type/eto.forms.command/datacontextchanged.md), [EnabledChanged](https://eto.picoe.ca/api/type/eto.forms.command/enabledchanged.md), [Executed](https://eto.picoe.ca/api/type/eto.forms.command/executed.md), [Execute](https://eto.picoe.ca/api/type/eto.forms.command/execute.md), [OnDataContextChanged](https://eto.picoe.ca/api/type/eto.forms.command/ondatacontextchanged.md), [OnEnabledChanged](https://eto.picoe.ca/api/type/eto.forms.command/onenabledchanged.md), [OnExecuted](https://eto.picoe.ca/api/type/eto.forms.command/onexecuted.md)
