Skip to main content

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.v24.1.Core.dll

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

[Obsolete("Use the Xpf.Core.ConditionalFormatting.TopBottomRule instead")]
[Browsable(false)]
public enum TopBottomRule

Members

Name Description
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