
## OptionButtonControl class

The OptionButton control enables a single choice in a limited set of mutually exclusive choices.


**Inheritance:** [OptionButtonControl](./) → [MorphDataControl](../morphdatacontrol/) → [Forms2OleControl](../forms2olecontrol/) → [OleControl](../olecontrol/)

### Properties

| Name | Description |
| --- | --- |
| [backColor](../forms2olecontrol/backColor/) | Gets or sets a background color of the control. The default value depends on a type of the control.<br>(Inherited from [Forms2OleControl](../forms2olecontrol/)) |
| [caption](../forms2olecontrol/caption/) | Gets or sets a Caption property of the control. Default value is an empty string.<br>(Inherited from [Forms2OleControl](../forms2olecontrol/)) |
| [childNodes](../forms2olecontrol/childNodes/) | Gets collection of immediate child controls.<br>(Inherited from [Forms2OleControl](../forms2olecontrol/)) |
| [enabled](../forms2olecontrol/enabled/) | Returns ``true`` if control is in enabled state.<br>(Inherited from [Forms2OleControl](../forms2olecontrol/)) |
| [foreColor](../forms2olecontrol/foreColor/) | Gets or sets a foreground color of the control. The default value depends on a type of the control.<br>(Inherited from [Forms2OleControl](../forms2olecontrol/)) |
| [groupName](../forms2olecontrol/groupName/) | Gets or sets a string that specifies a group of mutually exclusive controls. The default value is an empty string.<br>(Inherited from [Forms2OleControl](../forms2olecontrol/)) |
| [height](../forms2olecontrol/height/) | Gets or sets a height of the control in points.<br>(Inherited from [Forms2OleControl](../forms2olecontrol/)) |
| [isForms2OleControl](../olecontrol/isForms2OleControl/) | Returns ``true`` if the control is a [Forms2OleControl](../forms2olecontrol/).<br>(Inherited from [OleControl](../olecontrol/)) |
| [name](../olecontrol/name/) | Gets or sets name of the ActiveX control.<br>(Inherited from [OleControl](../olecontrol/)) |
| [selected](./selected/) | Gets or sets a boolean value indicating either this [OptionButtonControl](./) is selected or not. |
| [type](./type/) | Gets type of Forms 2.0 control. |
| [value](../forms2olecontrol/value/) | Gets underlying Value property which often represents control state. For example checked option button has '1' value while unchecked has '0'. Default value is an empty string.<br>(Inherited from [Forms2OleControl](../forms2olecontrol/)) |
| [width](../forms2olecontrol/width/) | Gets or sets a width of the control in points.<br>(Inherited from [Forms2OleControl](../forms2olecontrol/)) |

### Methods

| Name | Description |
| --- | --- |
|[ asCheckBoxControl()](../olecontrol/asCheckBoxControl/#default) | <br>(Inherited from [OleControl](../olecontrol/)) |
|[ asForms2OleControl()](../olecontrol/asForms2OleControl/#default) | <br>(Inherited from [OleControl](../olecontrol/)) |
|[ asOptionButtonControl()](../olecontrol/asOptionButtonControl/#default) | <br>(Inherited from [OleControl](../olecontrol/)) |
|[ asTextBoxControl()](../olecontrol/asTextBoxControl/#default) | <br>(Inherited from [OleControl](../olecontrol/)) |

### See Also

* module [Aspose.Words.Drawing.Ole](../)
* class [MorphDataControl](../morphdatacontrol/)

