Wimark.Controls Class Library  

ListView.BeforeItemCheck Event

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;

Event Data

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.

Requirements

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

See Also

ListView Class | ListView Members | Wimark.Controls Namespace