DataGridViewColumn.CellType 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得儲存格樣板的執行階段類型。
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
屬性值
Type 的 DataGridViewCell,用來做為這個資料行的樣板。 預設為 null
。
- 屬性
備註
的基底類型 CellTemplate 為 DataGridViewCell 。 使用這個屬性來判斷實際的衍生型別。