SortProperty(String, SortingDirection) Constructor
Initializes a new instance of the SortProperty class with a property name to sort against and the sort order.
Namespace: DevExpress.Xpo
Assembly: DevExpress.Data.v25.1.dll
NuGet Package: DevExpress.Data
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| propertyName | String | A String value which specifies the name of the property to sort against. This value is assigned to the SortProperty.PropertyName property. |
| sorting | SortingDirection | A SortDirection enumeration value which specifies the property’s sort order. This value is assigned to the SortProperty.Direction property. |
See Also