Skip to main content

SortProperty(CriteriaOperator, SortingDirection) Constructor

Initializes a new instance of the SortProperty class.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Data.v23.2.dll

NuGet Package: DevExpress.Data

Declaration

public SortProperty(
    CriteriaOperator property,
    SortingDirection direction
)

Parameters

Name Type Description
property CriteriaOperator

A CriteriaOperator object that represents the expression used to sort values. This value is assigned to the SortProperty.Property property.

direction SortingDirection

A SortDirection enumeration value which specifies the property’s sort order. This value is assigned to the SortProperty.Direction property.

See Also