Sdílet prostřednictvím


ItemCheckEventArgs(Int32, CheckState, CheckState) Konstruktor

Definice

Inicializuje novou instanci ItemCheckEventArgs třídy.

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)

Parametry

index
Int32

Index položky založený na nule, který se má změnit.

newCheckValue
CheckState

Jedna z CheckState hodnot, která označuje, jestli chcete změnit zaškrtávací políčko pro položku, která má být zaškrtnutá, nezaškrtnutá nebo nedeterminovaná.

currentValue
CheckState

Jedna z CheckState hodnot, která označuje, jestli je zaškrtávací políčko pro položku aktuálně zaškrtnuté, nezaškrtnuté nebo nedeterminované.

Platí pro

Viz také