DataGridViewColumn.CellType 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取单元格模板的运行时类型。
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 的 DataGridViewCell。 默认值为 null
。
- 属性
注解
基类型 CellTemplate 为 DataGridViewCell. 使用此属性可确定实际派生类型。