windowsforms-devexpress-dot-xtraeditors-dot-formatconditionruleminmaxbase-3adf6dea.md
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.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(FormatConditionAutomaticType.Default)]
[DXCategory("Behavior")]
[XtraSerializableProperty]
public FormatConditionAutomaticType AutomaticType { get; set; }
<DefaultValue(FormatConditionAutomaticType.Default)>
<XtraSerializableProperty>
<DXCategory("Behavior")>
Public Property AutomaticType As FormatConditionAutomaticType
| 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.
|
See FormatConditionRuleMinMaxBase.MaximumType and FormatConditionRuleMinMaxBase.MinimumType properties to learn more.
See Also
FormatConditionRuleMinMaxBase Class