Sdílet prostřednictvím


DataGridViewCellStateChangedEventArgs Konstruktor

Definice

Inicializuje novou instanci DataGridViewCellStateChangedEventArgs třídy.

public:
 DataGridViewCellStateChangedEventArgs(System::Windows::Forms::DataGridViewCell ^ dataGridViewCell, System::Windows::Forms::DataGridViewElementStates stateChanged);
public DataGridViewCellStateChangedEventArgs (System.Windows.Forms.DataGridViewCell dataGridViewCell, System.Windows.Forms.DataGridViewElementStates stateChanged);
new System.Windows.Forms.DataGridViewCellStateChangedEventArgs : System.Windows.Forms.DataGridViewCell * System.Windows.Forms.DataGridViewElementStates -> System.Windows.Forms.DataGridViewCellStateChangedEventArgs
Public Sub New (dataGridViewCell As DataGridViewCell, stateChanged As DataGridViewElementStates)

Parametry

dataGridViewCell
DataGridViewCell

Ten DataGridViewCell má změněný stav.

stateChanged
DataGridViewElementStates

Jedna z DataGridViewElementStates hodnot označujících stav, který se změnil v buňce.

Výjimky

dataGridViewCell je null.

Poznámky

Tato metoda používá hodnoty parametrů k inicializaci Cell a StateChanged vlastností.

Platí pro

Viz také