Sorts the list based on a PropertyDescriptor and a ListSortDirection.

Namespace: Dapfor.Wpf.Data
Assembly: Dapfor.Wpf (in Dapfor.Wpf.dll) Version: 4.1.0.26317 (4.1.0.26317)

Syntax

C#
public void ApplySort(
	PropertyDescriptor property,
	ListSortDirection direction
)
Visual Basic
Public Sub ApplySort ( 
	property As PropertyDescriptor,
	direction As ListSortDirection
)
Visual C++
public:
virtual void ApplySort(
	PropertyDescriptor^ property, 
	ListSortDirection direction
) sealed
F#
abstract ApplySort : 
        property : PropertyDescriptor * 
        direction : ListSortDirection -> unit 
override ApplySort : 
        property : PropertyDescriptor * 
        direction : ListSortDirection -> unit 

Parameters

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

Implements

IBindingList..::..ApplySort(PropertyDescriptor, ListSortDirection)

Exceptions

See Also