Back to Devexpress

PivotGridControl.FieldHeaderTreeViewTemplate Property

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridcontrol-0917287a.md

latest3.2 KB
Original Source

PivotGridControl.FieldHeaderTreeViewTemplate Property

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

Namespace : DevExpress.Xpf.PivotGrid

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

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

csharp
public DataTemplate FieldHeaderTreeViewTemplate { get; set; }
vb
Public Property FieldHeaderTreeViewTemplate As DataTemplate

Property Value

TypeDescription
DataTemplate

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

|

Remarks

The FieldHeaderTreeViewTemplate is applied to those fields whose PivotGridField.HeaderTreeViewTemplate property is set to null. The PivotGridField.ActualHeaderTreeViewTemplate 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.FieldHeaderTreeViewTemplateSelector property (or the PivotGridField.HeaderTreeViewTemplateSelector property to do this for individual fields).

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

See Also

HeaderTreeViewTemplate

FieldHeaderTreeViewTemplateSelector

HeaderTreeViewTemplateSelector

Field Header

Field List

PivotGridControl Class

PivotGridControl Members

DevExpress.Xpf.PivotGrid Namespace