ItemCheckEventArgs(Int32, CheckState, CheckState) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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 项的复选框当前是选中、未选中还是不确定的值之一。