DataGridViewCellStateChangedEventArgs Constructeur
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Initialise une nouvelle instance de la 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)
Paramètres
- dataGridViewCell
- DataGridViewCell
DataGridViewCell dont l'état est modifié.
- stateChanged
- DataGridViewElementStates
Une des valeurs DataGridViewElementStates indiquant l'état qui a été modifié sur la cellule.
Exceptions
dataGridViewCell
a la valeur null
.
Remarques
Cette méthode utilise les valeurs de paramètre pour initialiser les propriétés et StateChanged les Cell propriétés.