dbicList Send comments on this topic.
BeforeColumnSort Event
See Also 
dbicBase Assembly > Dbi.WinControl Namespace > DbiListControl Class : BeforeColumnSort Event

Event fired when the header of a column defined as sortable receives a left mouse click. NOTE: Event is fired BEFORE the actual sort is performed.

Syntax

Visual Basic (Declaration) 
Public Event BeforeColumnSort As DbiListControl.BeforeColumnSortEventHandler
C# 
public event DbiListControl.BeforeColumnSortEventHandler BeforeColumnSort

Event Data

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.

PropertyDescription
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

Remarks

Event is fired BEFORE the actual sort is performed.

Requirements

Target Platforms: Current Windows operating system with .NET 8.

See Also