| Visual Basic (Declaration) | |
|---|---|
Public Event BeforeColumnSort As DbiListControl.BeforeColumnSortEventHandler | |
| C# | |
|---|---|
public event DbiListControl.BeforeColumnSortEventHandler BeforeColumnSort | |
The event handler receives an argument of type BeforeColumnSortEventArgs containing data related to this event. The following BeforeColumnSortEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| AllowSort | Indicate wether or not to proceed with the Sort. To cancel the sort set e.AllowSort = False in the BeforeColumnSort Event. |
| Columns | An array of columns in the order in which the sort is to occur. See Sort Method |
Event is fired BEFORE the actual sort is performed.