PivotGridControl.FormatConditionGeneratorTemplate Property

Gets or sets a template that describes conditional formats. This is a dependency property.

Namespace: DevExpress.Xpf.PivotGrid

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

Declaration

public DataTemplate FormatConditionGeneratorTemplate { get; set; }
Public Property FormatConditionGeneratorTemplate As DataTemplate

Property Value

Type Description
DataTemplate

A conditional format template.

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 PivotGridControl.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 FormatConditionGeneratorTemplate property.

See Also