Back to Devexpress

FormatConditionBase Class

wpf-devexpress-dot-xpf-dot-pivotgrid-50ae8b1f.md

latest3.4 KB
Original Source

FormatConditionBase Class

Serves as a base for classes that represent format conditions.

Namespace : DevExpress.Xpf.PivotGrid

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

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

csharp
public abstract class FormatConditionBase :
    DependencyObject,
    ISupportManager
vb
Public MustInherit Class FormatConditionBase
    Inherits DependencyObject
    Implements ISupportManager

Remarks

Conditional formatting allows you to change the appearance of data cells based on specific conditions. To specify a data field (measure) to which value conditional formatting is applied, use the FormatConditionBase.MeasureName property. Use the field’s PivotGridField.Name property value to refer to the field.

To apply conditional formatting, create a new instance of the required format condition type, specify its parameters and add it to the PivotGridControl.FormatConditions collection.

You can apply the rule to all data cells or specified row and column intersection.

Inheritance

Show 11 items

Object DispatcherObject DependencyObject FormatConditionBase ExpressionConditionBase

IndicatorFormatConditionBase

ColorScaleFormatCondition

TopBottomRuleFormatCondition

FormatCondition

IconSetFormatCondition

DataBarFormatCondition

See Also

FormatConditionBase Members

DevExpress.Xpf.PivotGrid Namespace