Back to Devexpress

GridTopBottomRule Enum

aspnet-devexpress-dot-web-b3cd76a2.md

latest2.4 KB
Original Source

GridTopBottomRule Enum

Lists values that specify the format condition rule applied to cells by the GridViewFormatConditionTopBottom condition.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public enum GridTopBottomRule
vb
Public Enum GridTopBottomRule

Members

NameDescription
TopItems

Top items (according to acceding sort order) are highlighted. The number of items is specified by the GridFormatConditionTopBottom.Threshold property.

| | TopPercent |

Top items (according to acceding sort order) are highlighted. The percent of highlighted items is specified by the GridFormatConditionTopBottom.Threshold property.

| | BottomItems |

Bottom items (according to acceding sort order) are highlighted. The number of items is specified by the GridFormatConditionTopBottom.Threshold property.

| | BottomPercent |

Bottom items (according to acceding sort order) are highlighted. The percent of highlighted items is specified by the GridFormatConditionTopBottom.Threshold property.

| | AboveAverage |

Items whose cell values are above the average value, are highlighted.

| | BelowAverage |

Items whose cell values are below the average value are highlighted.

|

The following properties accept/return GridTopBottomRule values:

Remarks

Values listed by this enumerator are used to set the GridFormatConditionTopBottom.Rule property of a format condition.

See Also

Conditional Formatting

DevExpress.Web Namespace