Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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