DataGridViewColumn.CellType DataGridViewColumn.CellType DataGridViewColumn.CellType DataGridViewColumn.CellType Property

Definition

Gets the run-time type of the cell template.

public:
 property Type ^ CellType { Type ^ get(); };
[System.ComponentModel.Browsable(false)]
public Type CellType { get; }
member this.CellType : Type
Public ReadOnly Property CellType As Type

Property Value

The Type of the DataGridViewCell used as a template for this column. The default is null.

Remarks

The base type of the CellTemplate is DataGridViewCell. Use this property to determine the actual derived type.

Applies to

See also