Occurs before the check box state of a list view item is changed.
[Visual Basic] Public Event BeforeItemCheck As ListViewItemCancelEventHandler [C#] public event ListViewItemCancelEventHandler BeforeItemCheck; [C++] public: __event ListViewItemCancelEventHandler* BeforeItemCheck;
The event handler receives an argument of type ListViewItemCancelEventArgs containing data related to this event. The following ListViewItemCancelEventArgs property provides information specific to this event.
Property | Description |
---|---|
Cancel | Gets or sets a value indicating whether the event should be canceled. |
Item | The item to be checked, edited or selected. |
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows .NET Server family
ListView Class | ListView Members | Wimark.Controls Namespace