Back to Devexpress

PivotGridGroup Class

corelibraries-devexpress-dot-xtrapivotgrid-56bbb2df.md

latest3.8 KB
Original Source

PivotGridGroup Class

Represents an individual group of fields.

Namespace : DevExpress.XtraPivotGrid

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

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

Declaration

csharp
public class PivotGridGroup :
    IEnumerable,
    IPivotGridGroup
vb
Public Class PivotGridGroup
    Implements IEnumerable,
               IPivotGridGroup

The following members return PivotGridGroup objects:

LibraryRelated API Members
Cross-Platform Class LibraryPivotGridFieldBase.Group
PivotGridGroupCollection.Add()
PivotGridGroupCollection.Add(PivotGridFieldBase[], String)
PivotGridGroupCollection.Add(PivotGridFieldBase[])
PivotGridGroupCollection.Find(Predicate<PivotGridGroup>)
PivotGridGroupCollection.GetGroupByField(PivotGridFieldBase)
PivotGridGroupCollection.Item[Int32]
PivotGroupFilterValues.Group
WinForms ControlsPivotGroupEventArgs.Group
ASP.NET Web Forms ControlsPivotGroupEventArgs.Group

Remarks

The XtraPivotGrid allows end-users to arrange its fields into groups. Fields that belong to a group are treated as a whole and are always displayed within the same area and in the same order. An end-user cannot separate these fields by dragging one of them to a different area or hiding it to the customization form.

Individual field groups are represented by PivotGridGroup objects and are stored in the pivot grid’s PivotGridControl.Groups collection. Groups hold fields within their PivotGridGroup.Fields collection. To ungroup the fields, the group must be removed. Note that fields are not disposed of in this case. To unlink individual fields, use the group’s PivotGridGroup.Remove method.

Inheritance

Object PivotGridGroup PivotGridWebGroup

MVCxPivotGridWebGroup

See Also

PivotGridGroup Members

Groups

Field Groups

DevExpress.XtraPivotGrid Namespace