Wimark.Controls Class Library  

DataGridView.BeforeGroupExpand Event

Occurs before the DataGridView group is expanded or collapsed.

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

Event Data

The event handler receives an argument of type DataGridViewGroupCancelEventArgs containing data related to this event. The following DataGridViewGroupCancelEventArgs 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

DataGridView Class | DataGridView Members | Wimark.Controls Namespace