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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.