DataGridViewButtonColumn Konstruktor

Definice

Inicializuje novou instanci DataGridViewButtonColumn třídy do výchozího stavu.

public:
 DataGridViewButtonColumn();
public DataGridViewButtonColumn ();
Public Sub New ()

Poznámky

Tento konstruktor inicializuje sloupec nastavením následujících vlastností.

Vlastnost Hodnota
CellTemplate Nový DataGridViewButtonCell.
Alignment Vlastnost objektu DataGridViewCellStyle vráceného DefaultCellStyle vlastností. DataGridViewContentAlignment.MiddleCenter

Platí pro

Viz také