[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IRange.CellType

CellType Property

CellType

Gets or sets the cell type for specified range in the sheet.

Declaration
BaseCellType CellType { get; set; }
Property CellType As BaseCellType
Property Value
Type Description
BaseCellType

The cell type.

Examples
ButtonCellType button = new ButtonCellType();
button.Text = "Submit";
IRange range = worksheet.Range["A1"];
range.CellType = button;
BaseCellType cellType = range.CellType;