OptionButton Class
Represents an Option (Radio) Button Form Control.
public class OptionButton : ExcelFormControl
Public Class OptionButton
Inherits ExcelFormControl
- Inheritance:
- OptionButton
Properties
CellLink
Gets or sets the cell which holds the value of this option button.
Property Value
The cell which holds the value of this option button.
Checked
Gets or sets the value indicating whether this option button is checked.
Property Value
The value indicating whether this option button is checked.
FormControlType
Gets the OptionButton value.
public override FormControlType FormControlType { get; }
Public Overrides ReadOnly Property FormControlType As FormControlType
Property Value
The OptionButton value.
Overrides
Text
Gets the text content and formatting associated with this OptionButton.
Property Value
The text content and formatting associated with this OptionButton.
Inherited Properties
Hyperlink | Gets or sets the hyperlink on this drawing (picture, chart, etc.). (Inherited from ExcelDrawing) |
MacroName | Gets the name of the assigned vba macro to this button. (Inherited from ExcelFormControl) |
Metadata | Gets the metadata (non-visual properties) of this ExcelDrawing instance. (Inherited from ExcelDrawing) |
Position | Gets the position of this drawing (picture, chart, etc.) in the worksheet. (Inherited from ExcelDrawing) |
Gets or sets whether current form control is printable. (Inherited from ExcelFormControl) | |
ThreeDShading | Gets or sets whether 3D effect should be enabled on the current form control. (Inherited from ExcelFormControl) |
Worksheet | Gets the parent worksheet. (Inherited from ExcelDrawing) |
Inherited Methods
Format() | Formats this drawing (picture, chart, etc.) to its default size so it can be exported to PDF, XPS, image or be printed. (Inherited from ExcelDrawing) |
Format(System.Double, System.Double, LengthUnit) | Formats this drawing (picture, chart, etc.) to specified size so it can be exported to PDF, XPS, image or be printed. (Inherited from ExcelDrawing) |
SetMacro(VbaModule, System.String) | Assigns the given macro to this button. (Inherited from ExcelFormControl) |