Back to Devexpress

FormatConditionRuleTopBottom.RankType Property

windowsforms-devexpress-dot-xtraeditors-dot-formatconditionruletopbottom-acabf338.md

latest3.6 KB
Original Source

FormatConditionRuleTopBottom.RankType Property

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

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(FormatConditionValueType.Automatic)]
[DXCategory("Behavior")]
[XtraSerializableProperty]
public FormatConditionValueType RankType { get; set; }
vb
<DefaultValue(FormatConditionValueType.Automatic)>
<XtraSerializableProperty>
<DXCategory("Behavior")>
Public Property RankType As FormatConditionValueType

Property Value

TypeDefaultDescription
FormatConditionValueTypeAutomatic

An object that specifies a type of the rank value.

|

Available values:

NameDescription
Number

Cell values are compared with zero.

| | Percent |

Cell values are compared with each other. The minimum cell value is treated as 0%, the maximum value is 100%.

| | 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

Rank

TopBottom

FormatConditionRuleTopBottom Class

FormatConditionRuleTopBottom Members

DevExpress.XtraEditors Namespace