FormatConditionRuleTopBottom.TopBottom Property

Gets or sets whether the FormatConditionRuleTopBottom rule targets the highest or lowest column values.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v21.1.dll

Declaration

[DefaultValue(FormatConditionTopBottomType.Top)]
[XtraSerializableProperty]
[DXCategory("Behavior")]
public FormatConditionTopBottomType TopBottom { get; set; }

Property Value

Type Default Description
FormatConditionTopBottomType

Top

An object that specifies the type of the target range.

Available values:

Name Description
Top

The highest values.

Bottom

The lowest values.

Remarks

If the TopBottom property is set to Top, the FormatConditionRuleTopBottom conditional formating rule targets the highest column values. In the case of the Bottom type, the format is applied to the column’s lowest values.

See Also