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

PivotGridGroup.Add(PivotGridField) Method

Adds the specified field 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 Add(
    PivotGridField field
)

Parameters

Name Type Description
field PivotGridField

A PivotGridField object which represents the field to add.

Remarks

A field cannot be added to the group if it already belongs to another group. To add several fields to the group use the PivotGridGroup.AddRange method.

See Also