Skip to main content
A newer version of this page is available. .

FormatConditionRuleMinMaxBase.AutomaticType Property

Gets or sets how the range’s maximum and minimum values are calculated when the FormatConditionRuleMinMaxBase.MaximumType and FormatConditionRuleMinMaxBase.MinimumType properties are set to Automatic.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v18.2.dll

Declaration

[DefaultValue(FormatConditionAutomaticType.Default)]
[XtraSerializableProperty]
[DXCategory("Behavior")]
public FormatConditionAutomaticType AutomaticType { get; set; }

Property Value

Type Default Description
FormatConditionAutomaticType **Default**

A value that specifies how the range’s maximum and minimum values are calculated in Automatic mode. The FormatConditionAutomaticType.Default value is equivalent to FormatConditionAutomaticType.ValueBased.

Available values:

Name Description
Default

Default is equivalent to ValueBased mode.

ValueBased

The range’s maximum and minimum values are the highest and lowest column values, respectively.

ZeroBased

The range’s maximum value is the highest column value, but not less than 0. The range’s minimum value is the lowest column value, but not greater than 0.

Remarks

See FormatConditionRuleMinMaxBase.MaximumType and FormatConditionRuleMinMaxBase.MinimumType properties to learn more.

See Also