The following tables list the members exposed by UserSort.
Public Properties
| Name | Description |
| SortExpression | Gets or sets the expression on which to sort. Has the same restrictions as a Group Filter expression. Aggregates used in SortExpression may only use scopes which equal or contain the UserSort.SortExpressionScope. Aggregates without an explicit scope are not allowed in SortExpression if no UserSort.SortExpressionScope is specified. |
| SortExpressionScope | Gets or sets the name of the scope (data region or group) in which to evaluate the UserSort.SortExpression. If omitted, the expression will be evaluated and the sort will be performed independently in each detail scope within the UserSort.SortTarget. Must be a scope that is equal to or contained within the current scope. If the Textbox has no current scope (in other words, it is not contained in any data region), SortExpressionScope must be equal to or contained within the UserSort.SortTarget. Cannot be a detail scope (that is, a group with no group expressions). The data set for SortExpressionScope must be the same as the data set for the UserSort.SortTarget. Sorting takes place within the group containing the SortExpressionScope. For example: In a Tablix with a country group and a city group with UserSort on each header and UserSort.SortExpressionScope of the corresponding group, the country sort will sort the country groups within the tablix and the city sort will sort the city groups within each country group (without rearranging the country groups). |
| SortTarget | Gets or sets the name of the data region, group or data set to apply the sort to. If omitted, the sort will apply to the instance of the current scope. Must be the current scope, an ancestor scope, or a peer scope which is a data region. |
Top
Public Methods
| Name | Description |
| AssignFrom | Copies properties from another UserSort to the current object. |
Top
See Also