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 项的复选框当前是选中、未选中还是不确定的值之一。

适用于

另请参阅