BindingSource.IsSorted Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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