Click or drag to resize

DbDataSource.ApplySort Method

X#
Sorts the list based on a PropertyDescriptor and a ListSortDirection.

Namespace:  XSharp
Assembly:  XSharp.Data (in XSharp.Data.dll) Version: 2.19
Syntax
 METHOD ApplySort(
	property AS PropertyDescriptor,
	direction AS ListSortDirection
) AS VOID
Request Example View Source

Parameters

property
Type: PropertyDescriptor
The PropertyDescriptor to sort by.
direction
Type: ListSortDirection
One of the ListSortDirection values.

Implements

ApplySort(PropertyDescriptor, ListSortDirection)
Exceptions
ExceptionCondition
NotSupportedExceptionSupportsSorting is .
Remarks
This method will create an index on the underlying workarea to sort the rows
See Also