Skip to main content
A newer version of this page is available. .

RankBinding.RankType Property

Gets or sets the rank type.

Namespace: DevExpress.Xpf.PivotGrid

Assembly: DevExpress.Xpf.PivotGrid.v19.2.dll

Declaration

public RankType RankType { get; set; }

Property Value

Type Description
RankType

A RankType enumeration member that specifies the rank type.

Available values:

Name Description
Competition

Equal values receive the same ranking number, and a gap occurs in the ranking numbers.

Dense

Equal values receive the same ranking number, and the next item receives the following ranking number. No gap is left in ranking numbers.

Unique

Equal values receive distinct ordinal ranking numbers according to the order in which the values follow each other.

Modified

Equal values receive the same ranking number, and a gap occurs in the ranking numbers before the equal-ranking items.

Percentile

The rank is the percentage of values that are equal to or higher (if the order is descending), or equal to or lower (if the order is ascending) than the current value.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RankType property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also