SortProperty(CriteriaOperator, SortingDirection) Constructor

Initializes a new instance of the SortProperty class.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Data.v20.2.dll

Declaration

public SortProperty(
    CriteriaOperator property,
    SortingDirection direction
)
Public Sub New(
    property As CriteriaOperator,
    direction As SortingDirection
)

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