[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Forms.ICheckBox

ICheckBox Interface

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>.

Namespace: GrapeCity.Documents.Excel.Forms
Assembly: DS.Documents.Excel.dll
Syntax
public interface ICheckBox : IControl<ICheckBox>, IContentControl, ICellLinkControl<bool?>, ICellLinkControl, IControl
Public Interface ICheckBox
    Inherits IControl(Of ICheckBox), IContentControl, ICellLinkControl(Of Boolean?), ICellLinkControl, IControl
Examples
ICheckBox checkBox = worksheet.Controls.AddCheckBox(20, 20, 90, 18);
checkBox.Text = "Accept";
checkBox.LinkedCell = worksheet.Range["A1"];

Properties

Name Description
IsChecked

Gets or sets whether the ICheckBox is checked.

This property represents the current three-state value of the check box.