This documentation is archived and is not being maintained.

CheckedListBox.ItemCheck Event

Occurs when the checked state of an item changes.

[Visual Basic]
Public Event ItemCheck As ItemCheckEventHandler
public event ItemCheckEventHandler ItemCheck;
public: __event ItemCheckEventHandler* ItemCheck;

[JScript] In JScript, you can handle the events defined by a class, but you cannot define your own.

Event Data

The event handler receives an argument of type ItemCheckEventArgs containing data related to this event. The following ItemCheckEventArgs properties provide information specific to this event.

Property Description
CurrentValue Gets a value indicating the current state of the item's check box.
Index Gets the zero-based index of the item to change.
NewValue Gets or sets a value indicating whether to set the check box for the item to be checked, unchecked, or indeterminate.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

CheckedListBox Class | CheckedListBox Members | System.Windows.Forms Namespace