Condividi tramite


DataGridViewCellStateChangedEventArgs Costruttore

Definizione

Inizializza una nuova istanza della classe 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)

Parametri

dataGridViewCell
DataGridViewCell

Oggetto DataGridViewCell con stato modificato.

stateChanged
DataGridViewElementStates

Uno dei valori DataGridViewElementStates che indica lo stato modificato nella cella.

Eccezioni

dataGridViewCell è null.

Commenti

Questo metodo usa i valori dei parametri per inizializzare le Cell proprietà e StateChanged .

Si applica a

Vedi anche