ItemCheckEventArgs Constructor

ItemCheckEventArgs Constructor (Int32, CheckState, CheckState)

 

Initializes a new instance of the ItemCheckEventArgs class.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public ItemCheckEventArgs(
	int index,
	CheckState newCheckValue,
	CheckState currentValue
)

Parameters

index
Type: System.Int32

The zero-based index of the item to change.

newCheckValue
Type: System.Windows.Forms.CheckState

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

currentValue
Type: System.Windows.Forms.CheckState

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

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft