Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PivotGridControl.FormatConditionGeneratorTemplateSelector Property

Gets or sets the data template selector which chooses a template based on the conditional format type. This is a dependency property.

Namespace: DevExpress.Xpf.PivotGrid

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

NuGet Package: DevExpress.Wpf.PivotGrid

#Declaration

public DataTemplateSelector FormatConditionGeneratorTemplateSelector { get; set; }

#Property Value

Type Description
DataTemplateSelector

The field template selector.

#Remarks

The PivotGridControl supports binding to a collection of objects containing conditional format settings. You can describe this collection of objects in Model or ViewModel.

The PivotGridControl generates conditional formats based on conditional format templates. To choose the required template based on the conditional format type, use the Template Selector assigned to the FormatConditionGeneratorTemplateSelector property.

If all conditional formats can be described using a single template, you have no need to create a conditional format template selector. Instead, assign this template to the PiviotGrid’s PivotGridControl.FormatConditionGeneratorTemplate property.

See Also