ItemCheckEventArgs(Int32, CheckState, CheckState) 构造函数

定义

初始化 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)

参数

index
Int32

要更改的项的从零开始的索引。

newCheckValue
CheckState

CheckState 值之一,该值指示是否将该项的复选框更改为选中、未选中或不确定。

currentValue
CheckState

CheckState 值之一,该值指示当前该项的复选框是否为选中、未选中或不确定。

适用于

另请参阅