Wimark.Controls Class Library  

ListView.BeforeGroupExpand Event

Occurs before the list view group is expanded or collapsed.

[Visual Basic]
Public Event BeforeGroupExpand As ListViewGroupCancelEventHandler 
[C#]
public event ListViewGroupCancelEventHandler BeforeGroupExpand;
[C++]
public: __event ListViewGroupCancelEventHandler* BeforeGroupExpand;

Event Data

The event handler receives an argument of type ListViewGroupCancelEventArgs containing data related to this event. The following ListViewGroupCancelEventArgs property provides information specific to this event.

Property Description
Cancel Gets or sets a value indicating whether the event should be canceled.
Group The group to be expanded or collapsed.

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