[]
        
(Showing Draft Content)

C1.WPF.Report.GroupCollection.Add

Add Method

Add(string, string, SortEnum)

Adds a new Group to the collection, along with header and footer sections for the new group.

Declaration
public Group Add(string name, string groupBy, SortEnum sort)
Parameters
Type Name Description
string name

Contains the name of the new group.

string groupBy

Contains the value of the GroupBy property for the new group.

SortEnum sort

Contains the value of the Sort property for the new group.

Returns
Type Description
Group

A reference to the newly added group.

Remarks

When a group is added to a report, the control automatically adds two new sections, the group header and group footer sections for the new group. These new sections are invisible by default.