Skip to main content

ConditionRule Enum

Lists the values that specify the conditional formatting rule.

Namespace: DevExpress.Mobile.Core.ConditionalFormatting

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

Declaration

public enum ConditionRule

Members

Name Description
None

The format is applied to all cells of the target column.

Equal

The format is applied to cells whose values match the FormatCondition.Value1 property value.

NotEqual

The format is applied to cells whose values do not match the FormatCondition.Value1 property value.

Between

The format is applied to cells whose values fall into the range specified by the FormatCondition.Value1 and FormatCondition.Value2 properties.

NotBetween

The format is applied to cells whose values fall outside of the range specified by the FormatCondition.Value1 and FormatCondition.Value2 properties.

Less

The format is applied to cells whose values are less than the FormatCondition.Value1 property value.

Greater

The format is applied to cells whose values are greater than the FormatCondition.Value1 property value.

GreaterOrEqual

The format is applied to cells whose values are greater or equal to the FormatCondition.Value1 property value.

LessOrEqual

The format is applied to cells whose values are less or equal to the FormatCondition.Value1 property value.

Expression

The format is applied to cells for which the ExpressionConditionBase.Expression evaluates to true.

Related API Members

The following properties accept/return ConditionRule values:

Remarks

Important

This documentation topic describes legacy technology. We no longer develop new functionality for the GridControl and suggest that you use the new DataGridView control instead.

The values listed by the ConditionRule enumeration are used to set the FormatCondition.ValueRule property.

See Also