[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Forms.IOptionButton

Interface IOptionButton

Namespace
GrapeCity.Documents.Excel.Forms
Assembly
GcDocs.Excel.dll

The option button control.

public interface IOptionButton : IControl<IOptionButton>, IContentControl, ICellLinkControl<bool>, ICellLinkControl, IControl
Inherited Members

Properties

GroupBox

Gets the first group box that contains the option button.
Option buttons in the same group box are in the same group.
If the value is null (Nothing), the option button is in the default group.
Option buttons in the same group will share the value of LinkedCell property.
They will also affect the selection state of other option buttons in the same group.

IGroupBox GroupBox { get; }

Property Value

IGroupBox

The first group box that contains the option button. The value is null (Nothing) if the option button is in the default group.

Remarks

It's heavy to maintain the state of this property. We don't recommend putting too many group boxes and option buttons in the same worksheet.

IsChecked

Gets or sets whether the IOptionButton is checked.

bool IsChecked { get; set; }

Property Value

bool

False - Unchecked, true - Checked