ItemCheckEventArgs(Int32, CheckState, CheckState) Constructeur

Définition

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 valeurs CheckState qui indique si la case à cocher associée à l'élément doit passer à l'état activé, désactivé ou indéterminé.

currentValue
CheckState

Une des valeurs CheckState qui indique si la case à cocher associée à l'élément est actuellement activée, désactivée ou dans un état indéterminé.

S’applique à

Voir aussi