Back to Devexpress

FormatConditionRuleDataBar.AllowNegativeAxis Property

windowsforms-devexpress-dot-xtraeditors-dot-formatconditionruledatabar-6fff01da.md

latest2.3 KB
Original Source

FormatConditionRuleDataBar.AllowNegativeAxis Property

Gets or sets whether negative data bars are displayed in the direction opposite to the positive data bars.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
Booleantrue

true if negative data bars are displayed in the direction opposite to the positive data bars; otherwise, false.

|

Remarks

If the AllowNegativeAxis property is set to true , negative data bars are displayed in the right-to-left direction. Otherwise, they are displayed in the same direction as positive values, i.e., left-to-right. In this case, negative bars are painted using the appearance settings of positive bars, and the FormatConditionRuleDataBar.AppearanceNegative property is ignored.

The FormatConditionRuleDataBar.RightToLeft property allows you to invert the direction of positive and negative data bars.

See Also

AppearanceNegative

RightToLeft

FormatConditionRuleDataBar Class

FormatConditionRuleDataBar Members

DevExpress.XtraEditors Namespace