Back to Devexpress

TopBottomRule Enum

wpf-devexpress-dot-xpf-dot-grid-dot-conditionalformatting-33fa0e83.md

latest2.7 KB
Original Source

TopBottomRule Enum

OBSOLETE

Use the Xpf.Core.ConditionalFormatting.TopBottomRule instead

Lists the values that specify the rule for the top/bottom conditional formatting.

Namespace : DevExpress.Xpf.Grid.ConditionalFormatting

Assembly : DevExpress.Xpf.Grid.v25.2.Core.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
[Obsolete("Use the Xpf.Core.ConditionalFormatting.TopBottomRule instead")]
[Browsable(false)]
public enum TopBottomRule
vb
<Obsolete("Use the Xpf.Core.ConditionalFormatting.TopBottomRule instead")>
<Browsable(False)>
Public Enum TopBottomRule

Members

NameDescription
TopItems

The style is applied to cells (or corresponding rows) whose values are the largest for the column. The number of cells (rows) is specified by the TopBottomRuleFormatCondition.Threshold property.

| | TopPercent |

The style is applied to cells (or corresponding rows) whose values are the largest for the column. The percentage of cells (rows) is specified by the TopBottomRuleFormatCondition.Threshold property.

| | BottomItems |

The style is applied to cells (or corresponding rows) whose values are the lowest for the column. The number of cells (rows) is specified by the TopBottomRuleFormatCondition.Threshold property.

| | BottomPercent |

The style is applied to cells (or corresponding rows) whose values are the lowest for the column. The percentage of cells (rows) is specified by the TopBottomRuleFormatCondition.Threshold property.

| | AboveAverage |

The style is applied to cells (or corresponding rows) whose values are above the average value for the column.

| | BelowAverage |

The style is applied to cells (or corresponding rows) whose values are below the average value for the column.

|

Remarks

The values listed by the TopBottomRule enumeration are used to set the TopBottomRuleFormatCondition.Rule property’s value.

See Also

DevExpress.Xpf.Grid.ConditionalFormatting Namespace