Skip to main content

FormatConditionBase Class

Serves as a base for classes that represent format conditions used to apply formatting.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v24.1.Core.dll

NuGet Package: DevExpress.Dashboard.Core

Declaration

public abstract class FormatConditionBase :
    IAggregationInfo,
    IFormatCondition,
    IXmlSerializableElement,
    IFormatStyleSettingsOwner,
    IMinMaxInfo

Remarks

Conditional formatting can be applied to various dashboard item elements. For instance, for the Grid and Pivot dashboard items, you can change the appearance of individual cells/rows or add specified icons.

To use the specified condition to apply formatting, assign the FormatConditionBase class descendant with the specified settings to the DashboardItemFormatRule.Condition property.

Data Item

Supported Format Conditions

Measure/numeric Dimension

FormatConditionAverage

FormatConditionBar

FormatConditionColorRangeBar

FormatConditionExpression

FormatConditionGradientRangeBar

FormatConditionRangeGradient

FormatConditionRangeSet

FormatConditionTopBottom

FormatConditionValue

string Dimension

FormatConditionExpression

FormatConditionValue with the FormatConditionValue.Condition property set to Equal, NotEqual or ContainsText

date-time Dimension

FormatConditionBar

FormatConditionColorRangeBar

FormatConditionDateOccuring for dimensions with the continuous date-time group interval

FormatConditionExpression

FormatConditionGradientRangeBar

FormatConditionRangeGradient with the FormatConditionRangeBase.ValueType set to Number

FormatConditionRangeSet with the FormatConditionRangeBase.ValueType set to Number

FormatConditionValue

See Also