System.ComponentModel.IBindingList.RemoveSort Method

Removes any sort applied using IBindingList.ApplySort(PropertyDescriptor, ListSortDirection).

Syntax

public void RemoveSort ()

Remarks

This property is supported if IBindingList.SupportsSorting is true; otherwise, this property throws a NotSupportedException.

When you call this method, you should raise a IBindingList.ListChanged event with the ListChangedType.Reset enumeration.

Requirements

Namespace: System.ComponentModel
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0