Back to Devexpress

PivotGridGroupCollection.Add(String) Method

corelibraries-devexpress-dot-xtrapivotgrid-dot-pivotgridgroupcollection-dot-add-x28-system-dot-string-x29.md

latest2.2 KB
Original Source

PivotGridGroupCollection.Add(String) Method

Creates and appends a new empty group with the specified caption to the collection.

Namespace : DevExpress.XtraPivotGrid

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

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

Declaration

csharp
public void Add(
    string caption
)
vb
Public Sub Add(
    caption As String
)

Parameters

NameTypeDescription
captionString

A string which specifies the group’s caption. This value is assigned to the PivotGridGroup.Caption property.

|

Remarks

Fields can then be added to the created group via the PivotGridGroup.Add and PivotGridGroup.AddRange methods.

See Also

AddRange(PivotGridGroup[])

Insert(Int32, PivotGridGroup)

Remove(PivotGridGroup)

PivotGridGroupCollection Class

PivotGridGroupCollection Members

DevExpress.XtraPivotGrid Namespace