Modifier

Partager via


DataGridViewCellStateChangedEventArgs Constructor

Definition

Initializes a new instance of the DataGridViewCellStateChangedEventArgs class.

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)

Parameters

dataGridViewCell
DataGridViewCell

The DataGridViewCell that has a changed state.

stateChanged
DataGridViewElementStates

One of the DataGridViewElementStates values indicating the state that has changed on the cell.

Exceptions

dataGridViewCell is null.

Remarks

This method uses the parameter values to initialize the Cell and StateChanged properties.

Applies to

See also