ItemCheckEventArgs(Int32, CheckState, CheckState) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ItemCheckEventArgs class.
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)
Parameters
- index
- Int32
The zero-based index of the item to change.
- newCheckValue
- CheckState
One of the CheckState values that indicates whether to change the check box for the item to be checked, unchecked, or indeterminate.
- currentValue
- CheckState
One of the CheckState values that indicates whether the check box for the item is currently checked, unchecked, or indeterminate.
Applies to
See also
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.