Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

FormatConditionRuleMinMaxBase.Maximum Property

Gets or sets the maximum of the target value range.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.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