SortProperty Class
An element in the SortingCollection.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Data.v18.1.dll
Declaration
[TypeConverter(typeof(SortProperty.SortPropertyConverter))]
public sealed class SortProperty
Related API Members
The following members accept/return SortProperty objects:
Remarks
The SortProperty.PropertyName property specifies the name of a property which identifies the sorted column. The sort order is specified by the SortProperty.Direction property.
DevExpress.Xpo.SortingCollection sortCollection = new DevExpress.Xpo.SortingCollection();
sortCollection.Add(new SortProperty("Name", DevExpress.Xpo.DB.SortingDirection.Ascending));
xpCollection1.Sorting = sortCollection;
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the SortProperty class.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
Inheritance
Object
SortProperty
See Also