[]
Adds a new Group to the collection, along with header and footer sections for the new group.
public Group Add(string name, string groupBy, SortEnum sort)
Public Function Add(name As String, groupBy As String, sort As SortEnum) As Group
| 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. |
| Type | Description |
|---|---|
| Group | A reference to the newly added group. |
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.