ConditionRule Enum
Lists the values that specify the conditional formatting rule.
Namespace: DevExpress.Xpf.Core.ConditionalFormatting
Assembly: DevExpress.Xpf.Core.v24.1.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
Members
Name | Description |
---|---|
None
|
The style is not applied to any cell. |
Equal
|
The style is applied to cells whose values match the FormatCondition.Value1 (FormatCondition.Value1) property value. |
NotEqual
|
The style is applied to cells whose values do not match the FormatCondition.Value1 (FormatCondition.Value1) property value. |
Between
|
The style is applied to cells whose values fall into the range specified by the FormatCondition.Value1 (FormatCondition.Value1) and FormatCondition.Value2 (FormatCondition.Value2) properties. |
NotBetween
|
The style is applied to cells whose values fall outside of the range specified by the FormatCondition.Value1 (FormatCondition.Value1) and FormatCondition.Value2 (FormatCondition.Value2) properties. |
Less
|
The style is applied to cells whose values are less than that specified by the FormatCondition.Value1 (FormatCondition.Value1) property. |
Greater
|
The style is applied to cells whose values are greater than that specified by the FormatCondition.Value1 (FormatCondition.Value1) property. |
GreaterOrEqual
|
The style is applied to cells whose values are greater or equal to the FormatCondition.Value1 (FormatCondition.Value1) property value. |
LessOrEqual
|
The style is applied to cells whose values are less or equal to the FormatCondition.Value1 (FormatCondition.Value1) property value. |
Expression
|
The style is applied to cells for which the FormatConditionBase.Expression (FormatConditionBase.Expression) evaluates to true. |
Related API Members
The following properties accept/return ConditionRule values:
Remarks
The values listed by the ConditionRule enumeration are used to set the FormatCondition.ValueRule and FormatCondition.ValueRule properties.
To learn more, see Conditional Formatting in Pivot Grid and Conditional Formatting in Grid Control.