語言

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其中一個值表示該項目的勾選框目前是勾選、未勾選或不確定。

適用於

另請參閱