wpf-devexpress-dot-xpf-dot-grid-dot-conditionalformatting-33fa0e83.md
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
[Obsolete("Use the Xpf.Core.ConditionalFormatting.TopBottomRule instead")]
[Browsable(false)]
public enum TopBottomRule
<Obsolete("Use the Xpf.Core.ConditionalFormatting.TopBottomRule instead")>
<Browsable(False)>
Public Enum TopBottomRule
| 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.
|
The values listed by the TopBottomRule enumeration are used to set the TopBottomRuleFormatCondition.Rule property’s value.
See Also