Back to Devexpress

FormatConditionRuleDataBar.DrawAxisAtMiddle Property

windowsforms-devexpress-dot-xtraeditors-dot-formatconditionruledatabar-4375790c.md

latest2.5 KB
Original Source

FormatConditionRuleDataBar.DrawAxisAtMiddle Property

Gets or sets whether to draw the vertical axis between positive and negative bars at the middle of the cell.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(false)]
[DXCategory("Behavior")]
[XtraSerializableProperty]
public bool DrawAxisAtMiddle { get; set; }
vb
<DefaultValue(False)>
<XtraSerializableProperty>
<DXCategory("Behavior")>
Public Property DrawAxisAtMiddle As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true , to draw the axis at the middle of the cel; false , to draw the axis at the position specified by the proportion of the minimum negative value to the maximum positive value.

|

Remarks

By default, the DrawAxisAtMiddle property is set to false , and thus the horizontal position of the vertical axis between positive and negative bars is determined automatically, depending on the proportion of the column’s minimum negative value to the column’s maximum positive value.

To draw the axis at the middle, set the DrawAxisAtMiddle property to true.

DrawAxisAtMiddle = falseDrawAxisAtMiddle = true

If the FormatConditionRuleDataBar.DrawAxis property is set to false , the axis is not displayed.

See Also

DrawAxis

AxisColor

FormatConditionRuleDataBar Class

FormatConditionRuleDataBar Members

DevExpress.XtraEditors Namespace