Udostępnij za pośrednictwem


DataGridViewCellStateChangedEventArgs Konstruktor

Definicja

Inicjuje nowe wystąpienie klasy DataGridViewCellStateChangedEventArgs.

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

Element DataGridViewCell , który ma zmieniony stan.

stateChanged
DataGridViewElementStates

DataGridViewElementStates Jedna z wartości wskazująca stan, który uległ zmianie w komórce.

Wyjątki

dataGridViewCell to null.

Uwagi

Ta metoda używa wartości parametrów do zainicjowania Cell właściwości i StateChanged .

Dotyczy

Zobacz też