Share via


DataGridViewCellStateChangedEventArgs Constructor

Definición

Inicializa una nueva instancia de la clase 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)

Parámetros

dataGridViewCell
DataGridViewCell

Objeto DataGridViewCell en que ha cambiado un estado.

stateChanged
DataGridViewElementStates

Uno de los valores de DataGridViewElementStates que indican el estado que ha cambiado en la celda.

Excepciones

dataGridViewCell es null.

Comentarios

Este método usa los valores de parámetro para inicializar las Cell propiedades y StateChanged .

Se aplica a

Consulte también