| Visual Basic (Declaration) | |
|---|---|
Public Event Grouping() As GroupingEventHandler | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public event GroupingEventHandler Grouping() | |
The event handler receives an argument of type GroupingEventArgs containing data related to this event. The following GroupingEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| Cancel | Determines whether to cancel the grouping. |
| GroupComparer | Gets or sets the group comparer. |
| SortInfo | Gets the sorting information. |
This event is raised by the OnGrouping method when the user groups rows.