[]
Represents an element that defines an expression by which to sort the groups.
public sealed class SortBy : IValidateable
An example of creating a simple sorting:
var sortBy = new SortBy { SortExpression = { "=Fields!Type.Value" }, Direction = SortByDirection.Descending };
Name | Description |
---|---|
SortBy() | Initializes a new instance of the SortBy class. |
SortBy(ExpressionInfo, SortByDirection) | Initializes a new instance of the SortBy class using a specified sort expression and direction. |
Name | Description |
---|---|
Direction | Gets or sets a direction of the sort. |
SortExpression | Gets or sets an expression by which to sort the groups. |
Name | Description |
---|---|
Validate(ValidationContext) | Validates the current state of the SortBy object. |