KGy SOFT

FastBindingListTApplySortCore Method

KGy SOFT Core Libraries Help
If overridden in a derived class, sorts the items of the list.
The base implementation throws a NotSupportedException.

Namespace:  KGySoft.ComponentModel
Assembly:  KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 6.0.0-rc.1
Syntax

protected virtual void ApplySortCore(
	PropertyDescriptor? property,
	ListSortDirection direction
)

Parameters

property
Type: System.ComponentModelPropertyDescriptor
A PropertyDescriptor that specifies the property to sort on. If , then the list will be sorted by the values of T rather than one of its properties.
direction
Type: System.ComponentModelListSortDirection
The desired direction of the sort.
Exceptions

ExceptionCondition
NotSupportedExceptionSupportsSortingCore returns .
Remarks

See Also

Reference