A newer version of this page is available. Switch to the current version.

ScrollBarOptions.XAxisScrollBarAlignment Property

Specifies the alignment of the X-axis scroll bar.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v18.2.dll


public ScrollBarAlignment XAxisScrollBarAlignment { get; set; }
Public Property XAxisScrollBarAlignment As ScrollBarAlignment

Property Value

Type Description

A ScrollBarAlignment enumeration value which specifies the position of a scroll bar relative to an XY-diagram.

Property Paths

You can access this nested property as listed below:

Object Type Path to XAxisScrollBarAlignment


The following images demonstrate how the XAxisScrollBarAlignment property works.

XAxisScrollBarAlignment = Near XAxisScrollBarAlignment = Far
EnableAxisXScrolling XAxisScrollbar_Far

To specify the Y-axis scroll bar's alignment, use the similar ScrollBarOptions.YAxisScrollBarAlignment property.

For a related code example, refer to How to: Customize the Appearance of a Pane's Scroll Bar (Runtime Sample).

See Also