FormatConditionEnum Enum
Lists values specifying comparison operators used when applying conditional styles.
Namespace: DevExpress.XtraGrid
Assembly: DevExpress.XtraEditors.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
#Members
Name | Description |
---|---|
None
|
The style is not applied to any cell. |
Equal
|
The style is applied to cells (or corresponding rows) whose values match the Style |
Not
|
The style is applied to cells (or corresponding rows) whose values do not match the Style |
Between
|
The style is applied to cells (or rows) whose values are between the Value1 and Value2 property values exclusive. Enable the Between |
Not
|
The style is applied to cells (or rows) whose values are not between the Value1 and Value2 property values inclusive. Enable the Between |
Less
|
The style is applied to cells (or corresponding rows) whose values are less than that specified by the Style |
Greater
|
The style is applied to cells (or corresponding rows) whose values are greater than that specified by the Style |
Greater
|
The style is applied to cells (or corresponding rows) whose values are greater or equal to the Style |
Less
|
The style is applied to cells (or corresponding rows) whose values are less or equal to the Style |
Expression
|
The style is applied to cells (or corresponding rows) if the Style |
#Related API Members
The following properties accept/return FormatConditionEnum values:
#Remarks
StyleFormatCondition objects provide StyleFormatCondition.Column and StyleFormatConditionBase.Appearance properties specifying the column whose values take part in conditional formatting and the style applied to cells (or corresponding rows) that meet the specified condition. The condition is set using the StyleFormatConditionBase.Condition property that accepts values listed by the FormatConditionEnum enumeration. These values specify how cell values should be compared to the StyleFormatConditionBase.Value1 and StyleFormatConditionBase.Value2 properties of the style condition object.