Back to Devexpress

FormatConditionRuleMinMaxBase.Maximum Property

windowsforms-devexpress-dot-xtraeditors-dot-formatconditionruleminmaxbase-c0f9191b.md

latest2.2 KB
Original Source

FormatConditionRuleMinMaxBase.Maximum Property

Gets or sets the maximum of the target value range.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[XtraSerializableProperty]
[DXCategory("Behavior")]
public decimal Maximum { get; set; }
vb
<XtraSerializableProperty>
<DXCategory("Behavior")>
Public Property Maximum As Decimal

Property Value

TypeDescription
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

Minimum

MaximumType

MinimumType

FormatConditionRuleMinMaxBase Class

FormatConditionRuleMinMaxBase Members

DevExpress.XtraEditors Namespace