Editar

Partilhar via


ItemCheckEventArgs(Int32, CheckState, CheckState) Constructor

Definition

Initializes a new instance of the ItemCheckEventArgs class.

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)

Parameters

index
Int32

The zero-based index of the item to change.

newCheckValue
CheckState

One of the CheckState values that indicates whether to change the check box for the item to be checked, unchecked, or indeterminate.

currentValue
CheckState

One of the CheckState values that indicates whether the check box for the item is currently checked, unchecked, or indeterminate.

Applies to

See also