Skip to main content
A newer version of this page is available. .

FormatConditionValue.Condition Property

Gets or sets the comparison logic used to apply conditional styles.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v18.2.Core.dll

Declaration

[DefaultValue(DashboardFormatCondition.Equal)]
public DashboardFormatCondition Condition { get; set; }

Property Value

Type Default Description
DashboardFormatCondition **Equal**

A DashboardFormatCondition object that specifies the comparison logic used to apply conditional styles.

Available values:

Show 11 items
Name Description
Greater

The formatting is applied to elements whose values are greater than that specified by the FormatConditionValue.Value1 property.

GreaterOrEqual

The formatting is applied to elements whose values are greater than or equal to that specified by the FormatConditionValue.Value1 property.

Less

The formatting is applied to elements whose values are less than that specified by the FormatConditionValue.Value1 property.

LessOrEqual

The formatting is applied to elements whose values are less than or equal to that specified by the FormatConditionValue.Value1 property.

Equal

The formatting is applied to elements whose values are equal to a value assigned to the FormatConditionValue.Value1 property.

NotEqual

The formatting is applied to elements whose values are not equal to a value assigned to the FormatConditionValue.Value1 property.

Between

The formatting is applied to elements whose values fall into the range specified by the FormatConditionValue.Value1 and FormatConditionValue.Value2 properties.

NotBetween

The formatting is applied to elements whose values fall outside of the range specified by the FormatConditionValue.Value1 and FormatConditionValue.Value2 properties.

BetweenOrEqual

The formatting is applied to elements whose values are between or equal to the FormatConditionValue.Value1 and FormatConditionValue.Value2 property values.

NotBetweenOrEqual

The formatting is applied to elements whose values are not between or equal to the FormatConditionValue.Value1 and FormatConditionValue.Value2 property values.

ContainsText

The formatting is applied to elements whose values contain text specified by the FormatConditionValue.Value1 property.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Condition 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.

See Also