Skip to main content
All docs
V25.1
  • RankBindingBase.RankType Property

    Gets or sets the rank type.

    Namespace: DevExpress.PivotGrid.DataBinding

    Assembly: DevExpress.PivotGrid.v25.1.Core.dll

    NuGet Packages: DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

    Declaration

    [DefaultValue(RankType.Competition)]
    public RankType RankType { get; set; }

    Property Value

    Type Default Description
    RankType Competition

    A RankType enumeration member that specifies the rank type.

    Available values:

    Name Description Example
    Competition

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

    ranktype-competition

    Dense

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

    ranktype-dense

    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.

    ranktype-modified

    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.

    See Also