ItemCheckEventArgs(Int32, CheckState, CheckState) 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 ItemCheckEventArgs.
public:
ItemCheckEventArgs(int index, System::Windows::Forms::CheckState newCheckValue, System::Windows::Forms::CheckState currentValue);
public ItemCheckEventArgs(int index, System.Windows.Forms.CheckState newCheckValue, System.Windows.Forms.CheckState currentValue);
new System.Windows.Forms.ItemCheckEventArgs : int * System.Windows.Forms.CheckState * System.Windows.Forms.CheckState -> System.Windows.Forms.ItemCheckEventArgs
Public Sub New (index As Integer, newCheckValue As CheckState, currentValue As CheckState)
Paramètres
- index
- Int32
Index de base zéro de l’élément à modifier.
- newCheckValue
- CheckState
Une des CheckState valeurs qui indique si la case à cocher de l’élément doit être cochée, décochée ou indéterminée.
- currentValue
- CheckState
Une des CheckState valeurs qui indique si la case à cocher de l’élément est actuellement cochée, désactivée ou indéterminée.