Reports for WinForms | ComponentOne
C1.C1Report.4 Assembly / C1.C1Rdl.Rdl2008 Namespace / UserSort Class / SortExpressionScope Property

In This Topic
    SortExpressionScope Property
    In This Topic
    Gets or sets the name of the scope (data region or group) in which to evaluate the SortExpression. If omitted, the expression will be evaluated and the sort will be performed independently in each detail scope within the 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 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 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 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).
    Syntax
    'Declaration
     
    Public Property SortExpressionScope As String
    public string SortExpressionScope {get; set;}
    See Also