CellType Property

DataGridViewColumn.CellType Property

 

Gets the run-time type of the cell template.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

[BrowsableAttribute(false)]
public Type CellType { get; }

Property Value

Type: System.Type

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

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

.NET Framework
Available since 2.0
Return to top
Show:
© 2016 Microsoft