DataGridViewCellStateChangedEventArgs Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.