Skip to main content

FormatConditionRuleMinMaxBase.Maximum Property

Gets or sets the maximum of the target value range.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[XtraSerializableProperty]
[DXCategory("Behavior")]
public decimal Maximum { get; set; }

Property Value

Type Description
Decimal

The maximum of the target value range.

Remarks

The Maximum property is in effect if the FormatConditionRuleMinMaxBase.MaximumType property is set to Number or Percent.

If the MaximumType property is set to Percent, the Maximum property specifies a percentage of the difference between the highest and lowest column values.

minValue + (maxValue - minValue) * (Maximum/100)

For example, the minimum value in a data source filed equals to 200 and the maximum value equals to 300. The Maximum property set to 80 (80%) means that the maximum value is 280:

200 + (300 - 200) * (80/100) = 280

See Also