Note
FastBindingListT throws a NotSupportedException for this method. Use the SortableBindingListT to be able to use sorting.
public void ApplySort(
PropertyDescriptor property,
ListSortDirection direction
)
Public Sub ApplySort (
property As PropertyDescriptor,
direction As ListSortDirection
)
public:
virtual void ApplySort(
PropertyDescriptor^ property,
ListSortDirection direction
) sealed
abstract ApplySort :
property : PropertyDescriptor *
direction : ListSortDirection -> unit
override ApplySort :
property : PropertyDescriptor *
direction : ListSortDirection -> unit
To customize the behavior override the ApplySortCore method in a derived class.
NotSupportedException | SupportsSortingCore returns . |
ArgumentNullException | property is . |
ArgumentException | property is not a property of T. |