Skip to main content

SortProperty Members

An element in the SortingCollection.

Constructors

Name Description
SortProperty() Initializes a new instance of the SortProperty class with default settings.
SortProperty(CriteriaOperator, SortingDirection) Initializes a new instance of the SortProperty class.
SortProperty(String, SortingDirection) Initializes a new instance of the SortProperty class with a property name to sort against and the sort order.

Properties

Name Description
Direction Gets or sets the property’s sort order.
Property Gets or sets the expression used to sort values.
PropertyName Gets or sets the name of the property to sort against.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also