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

FormatConditionRuleTopBottom.RankType Property

Gets or sets the type of the FormatConditionRuleTopBottom.Rank value.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

[DefaultValue(FormatConditionValueType.Automatic)]
[XtraSerializableProperty]
[DXCategory("Behavior")]
public FormatConditionValueType RankType { get; set; }

Property Value

Type Default Description
FormatConditionValueType **Automatic**

An object that specifies a type of the rank value.

Available values:

Name Description
Number

A numeric value.

Percent

A percentage value.

Automatic

A cuttoff/minimum/maximum value is calculated automatically.

Remarks

The FormatConditionRuleTopBottom.Rank property specifies the count or percentage of column cells with the highest or lowest values.

If the RankType property is set to Number or Automatic, FormatConditionRuleTopBottom.Rank‘s value is regarded as the number of cells with the highest or lowest column values. If it is set to Percent, the FormatConditionRuleTopBottom.Rank property specifies a percentage of cells with the highest or lowest values.

See Also