IsSorted Property

BindingSource.IsSorted Property


Gets a value indicating whether the items in the underlying list are sorted.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public virtual bool IsSorted { get; }

Property Value

Type: System.Boolean

true if the list is an IBindingList and is sorted; otherwise, false.

IsSorted always returns false if the list is not an IBindingList.

.NET Framework
Available since 2.0
Return to top
© 2015 Microsoft