Export (0) Print
Expand All

BindingSource.SupportsSorting Property

Gets a value indicating whether the data source supports sorting.

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

[BrowsableAttribute(false)]
public virtual bool SupportsSorting { get; }

Property Value

Type: System.Boolean
true if the data source is an IBindingList and supports sorting; otherwise, false.

Implements

IBindingList.SupportsSorting

If the data source is not an IBindingList, the SupportsSorting property always returns false.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft