[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ICellControl

ICellControl Interface

Represents the cell control.

Namespace: GrapeCity.Documents.Excel
Assembly: DS.Documents.Excel.dll
Syntax
public interface ICellControl
Public Interface ICellControl
Examples
IRange range = worksheet.Range["A1"];
range.Value = true;
ICellControl control = range.CellControl;
control.SetCheckbox();
CellControlType type = control.Type;

Properties

Name Description
Type

Gets the cell control type for the associated range.

If all cells in the range have the same control type, that type is returned. If the range contains mixed control types or no control, None is returned.

Methods

Name Description
SetCheckbox()

Applies checkbox formatting to the entire range.