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.v20.2.dll

Declaration

public SortProperty(
    string propertyName,
    SortingDirection sorting
)
Public Sub New(
    propertyName As String,
    sorting As SortingDirection
)

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