FormatConditionRule3ColorScale.MiddleType Property

Gets or sets the type of the midpoint of the target range.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[XtraSerializableProperty]
[DefaultValue(FormatConditionValueType.Automatic)]
[DXCategory("Behavior")]
public FormatConditionValueType MiddleType { get; set; }
<XtraSerializableProperty>
<DefaultValue(FormatConditionValueType.Automatic)>
<DXCategory("Behavior")>
Public Property MiddleType As FormatConditionValueType

Property Value

Type Default Description
FormatConditionValueType

Automatic

The type of the midpoint of the target range.

Remarks

To specify the target range's midpoint, use the FormatConditionRule3ColorScale.Middle property. The type of the midpoint is set by the MiddleType property.

If the MiddleType property is set to FormatConditionValueType.Number, the FormatConditionRule3ColorScale.Middle property's value is regarded as a number. If you choose FormatConditionValueType.Percent, the FormatConditionRule3ColorScale.Middle property specifies the percentage of the difference between the highest and lowest column values. In the case of FormatConditionValueType.Automatic mode, the midpoint is automatically set to 50%, and the FormatConditionRule3ColorScale.Middle property is ignored.

See Also