Skip to main content

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.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(true)]
[DXCategory("Behavior")]
[XtraSerializableProperty]
public bool AllowNegativeAxis { get; set; }

Property Value

Type Default Description
Boolean true

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