PivotGridGroup Class
Represents an individual group of fields.
Namespace: DevExpress.XtraPivotGrid
Assembly: DevExpress.PivotGrid.v17.2.Core.dll
Declaration
[TypeConverter(typeof(UniversalTypeConverterEx))]
public class PivotGridGroup :
IEnumerable
Related API Members
The following members accept/return PivotGridGroup objects:
Library | Related API Members |
---|---|
Cross-Platform Class Library | PivotGridFieldBase.Group |
PivotGridFilterItems.Group | |
PivotGridGroupCollection.Add() | |
PivotGridGroupCollection.Add(PivotGridFieldBase[]) | |
PivotGridGroupCollection.Add(PivotGridFieldBase[], String) | |
PivotGridGroupCollection.Find(Predicate<PivotGridGroup>) | |
PivotGridGroupCollection.GetGroupByField(PivotGridFieldBase) | |
PivotGridGroupCollection.Item[Int32] | |
PivotGroupFilterValues.Group | |
WinForms Controls | PivotGroupEventArgs.Group |
ASP.NET Web Forms Controls | MVCxPivotGridField.Group |
PivotGroupEventArgs.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.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the PivotGridGroup class.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.