Skip to main content

PivotGridControl.FieldHeaderListTemplate Property

Gets or sets a template used to display field headers in the Field List when they are arranged in a list. This is a dependency property.

Namespace: DevExpress.Xpf.PivotGrid

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

NuGet Package: DevExpress.Wpf.PivotGrid

Declaration

public DataTemplate FieldHeaderListTemplate { get; set; }

Property Value

Type Description
DataTemplate

A DataTemplate object used to display field headers in the Field List when they are arranged in a list.

Remarks

The FieldHeaderListTemplate is applied to those fields whose PivotGridField.HeaderListTemplate property is set to null. The PivotGridField.ActualHeaderListTemplate property allows you to obtain which template is currently used for a particular field.

You can implement custom logic to choose the required template using the PivotGridControl.FieldHeaderListTemplateSelector property (or the PivotGridField.HeaderListTemplateSelector property to do this for individual fields).

To specify a template used to display field headers when they are arranged in a tree, use the PivotGridControl.FieldHeaderTreeViewTemplate property.

See Also