[]
Represents a check box form control in a worksheet.
A check box control can display text and store a three-state selection value:
checked (true), unchecked (false), or mixed (null).
It also supports linking its value to a worksheet cell through
ICellLinkControl<T>.
public interface ICheckBox : IControl<ICheckBox>, IContentControl, ICellLinkControl<bool?>, ICellLinkControl, IControl
Public Interface ICheckBox
Inherits IControl(Of ICheckBox), IContentControl, ICellLinkControl(Of Boolean?), ICellLinkControl, IControl
ICheckBox checkBox = worksheet.Controls.AddCheckBox(20, 20, 90, 18);
checkBox.Text = "Accept";
checkBox.LinkedCell = worksheet.Range["A1"];
| Name | Description |
|---|---|
| IsChecked | Gets or sets whether the ICheckBox is checked. This property represents the current three-state value of the check box. |