DataGridViewColumn.CellType 属性

定义

获取单元格模板的运行时类型。

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

属性值

Type

作为此列的模板的 TypeDataGridViewCell。 默认值为 null

属性

注解

基类型 CellTemplateDataGridViewCell. 使用此属性可确定实际派生类型。

适用于

另请参阅