Version

OnColumnSorting Method

Raised when a PivotDataColumn is sorted via the user interface.
Syntax
'Declaration
 
Protected Friend Overridable Function OnColumnSorting( _
   ByVal sortedColumn As PivotDataColumn, _
   ByVal sortDirection As PivotSortDirection _
) As Boolean
protected internal virtual bool OnColumnSorting( 
   PivotDataColumn sortedColumn,
   PivotSortDirection sortDirection
)

Parameters

sortedColumn
The PivotDataColumn being sorted.
sortDirection
The new PivotSortDirection to be assigned to the PivotDataColumn.

Return Value

true if the event is canceled; otherwise, false
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also