DataGridViewColumn.CellType 屬性

定義

取得儲存格樣板的執行階段類型。

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

屬性值

TypeDataGridViewCell,用來做為這個資料行的樣板。 預設為 null

屬性

備註

的基底類型 CellTemplateDataGridViewCell 。 使用這個屬性來判斷實際的衍生型別。

適用於

另請參閱