LinqInstantFeedbackSource.DefaultSorting Property
Specifies how data source contents are sorted by default, when sort order is not specified by the bound control.
Namespace: DevExpress.Data.Linq
Assembly: DevExpress.Data.v24.1.dll
NuGet Package: DevExpress.Data
Declaration
Property Value
Type | Description |
---|---|
String | A String object which contains the names of the columns against which data source contents are sorted. |
Remarks
This property accepts a string containing a column name followed by the sort order - “ASC” (ascending) or “DESC” (descending).
Columns are sorted ascending by default - “ASC” can be omitted.
Multiple columns can be separated by semicolons.
Note
The DefaultSorting property must be specified before the LinqInstantFeedbackSource is bound to a data-aware control (e.g. DXGrid).
See Also