Skip to main content

PivotGridGroupCollection.Add() Method

Creates a new group and appends it to the collection.

Namespace: DevExpress.XtraPivotGrid

Assembly: DevExpress.PivotGrid.v23.2.Core.dll

NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

public PivotGridGroup Add()

Returns

Type Description
PivotGridGroup

A PivotGridGroup object which represents the group that was added.

Remarks

The Add method creates a new group with default settings, adds it to the end of the collection and returns the new group. Also, see the other overloads of the Add method which take different parameters. To add several groups to the collection use the PivotGridGroupCollection.AddRange method.

See Also