DataGridViewCellStateChangedEventArgs Konstruktor
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
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 .