wpf-devexpress-dot-xpf-dot-pivotgrid-dot-formatconditionbase-f1682db3.md
Specifies whether to apply conditional formatting to data cells placed at the intersection of specified column and row fields. This is a dependency property.
Namespace : DevExpress.Xpf.PivotGrid
Assembly : DevExpress.Xpf.PivotGrid.v25.2.dll
NuGet Package : DevExpress.Wpf.PivotGrid
public bool ApplyToSpecificLevel { get; set; }
Public Property ApplyToSpecificLevel As Boolean
| Type | Description |
|---|---|
| Boolean |
true, to apply formatting condition to specific level; otherwise, false.
|
If the ApplyToSpecificLevel property is set to false , the FormatConditionBase.ColumnName and FormatConditionBase.RowName properties are ignored.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ApplyToSpecificLevel 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.
<dxpg:PivotGridControl.FormatConditions>
<dxpg:IconSetFormatCondition ApplyToSpecificLevel="true"
MeasureName="fieldExtendedPrice"
// Applies the condition to intersection of row and column fields.
formatRulesDataBar.ApplyToSpecificLevel = true;
' Applies the condition to intersection of row and column fields.
formatRulesDataBar.ApplyToSpecificLevel = True
See Also