Skip to main content
A newer version of this page is available. .

PivotGridGroup.AddRange(PivotGridField[]) Method

Adds an array of fields to the current group.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.PivotGrid, DevExpress.Wpf.PivotGrid

Declaration

public void AddRange(
    params PivotGridField[] fields
)

Parameters

Name Type Description
fields PivotGridField[]

An array of PivotGridField objects to add to the group’s field collection.

Remarks

The AddRange method adds a group of existing fields to the group’s field collection. Individual fields can be added using the PivotGridGroup.Add method.

Note: a field cannot be added to a group if it already belongs to another group.

See Also