CellType Property

Returns or sets the editor type for the specified cell.

Syntax

Public Property CellType As CellType

Applies To

Cell Object

Data Type

Enumerated

The following settings are available:

Constant Value Description
TextBox 0(Default) Text Box.
ComboBox 1 Combo Box.
CheckBox 2 Check Box.
Calendar 3 Calendar.
Button 4 Button.
HyperLink 5 Hyperlink.

Remarks

If you need to provide different DropDown-Lists for the cells in one Column of a grid control, please use the ComboDropDown event to add drop-down list items.