Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IBindingList::IsSorted Property

 

Gets whether the items in the list are sorted.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

property bool IsSorted {
	bool get();
}

Property Value

Type: System::Boolean

true if ApplySort has been called and RemoveSort has not been called; otherwise, false.

Exception Condition
NotSupportedException

SupportsSorting is false.

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

If IsSorted returns true, items are added or removed in the order of the sort.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft