Skip to main content

PivotGridControl.GroupGeneratorTemplate Property

Gets or sets a template that describes Pivot Grid field groups. This is a dependency property.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v24.1.dll

NuGet Package: DevExpress.Wpf.PivotGrid

Declaration

public DataTemplate GroupGeneratorTemplate { get; set; }

Property Value

Type Description
DataTemplate

A DataTemplate object that is a Pivot Grid field group template.

Remarks

The DevExpress WPF PivotGridControl supports field group binding. The Pivot Grid can be bound to a collection of objects containing group settings, described in a Model or ViewModel. The PivotGridControl generates groups based on group templates. Using a single template, you can create an unlimited number of field groups in an unlimited number of Pivot Grid controls.

To choose the required template, use the Template Selector assigned to the PivotGridControl.GroupGeneratorTemplateSelector property. If all Pivot Grid groups can be described using a single template, you have no need to create a group template selector. Instead, assign this template to the Pivot Grid’s GroupGeneratorTemplate property.

To learn more, see Binding to a Collection of Groups.

See Also