Back to Devexpress

PivotGridControl.AllowConditionalFormattingMenu Property

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridcontrol-b9eeea16.md

latest2.5 KB
Original Source

PivotGridControl.AllowConditionalFormattingMenu Property

Gets or sets whether to enable the conditional formatting menu for the pivot grid.

Namespace : DevExpress.Xpf.PivotGrid

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

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

csharp
public bool AllowConditionalFormattingMenu { get; set; }
vb
Public Property AllowConditionalFormattingMenu As Boolean

Property Value

TypeDescription
Boolean

true, to enable the conditional formatting menu; otherwise, false.

|

Remarks

Important

It is necessary to set the fields’ PivotGridField.Name property in order for the conditional formatting to work properly.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AllowConditionalFormattingMenu property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-pivot-grid-apply-format-conditions-to-data-cells/CS/WpfPivotGridConditionalFormatting/MainWindow.xaml#L23

xml
DataSource="{Binding Path=Data, Source={StaticResource TypedSimpleSource}}"
AllowConditionalFormattingMenu="True"
DataProcessingEngine="Optimized">

See Also

Conditional Formatting

PivotGridControl Class

PivotGridControl Members

DevExpress.Xpf.PivotGrid Namespace