Skip to main content
A newer version of this page is available. .

SortProperty(CriteriaOperator, SortingDirection) Constructor

Initializes a new instance of the SortProperty class.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Data.v18.2.dll

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