Back to Devexpress

ScrollBarOptions.XAxisScrollBarAlignment Property

corelibraries-devexpress-dot-xtracharts-dot-scrollbaroptions.md

latest2.8 KB
Original Source

ScrollBarOptions.XAxisScrollBarAlignment Property

Specifies the alignment of the X-axis scroll bar.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

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

Property Value

TypeDescription
ScrollBarAlignment

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

|

Available values:

NameDescription
Near

A scroll bar is painted either at the top or on the right of an XY-diagram.

| | Far |

A scroll bar is painted either at the bottom or on the left of an XY-diagram.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to XAxisScrollBarAlignment
XYDiagramPaneBase

.ScrollBarOptions .XAxisScrollBarAlignment

|

Remarks

The following images demonstrate how the XAxisScrollBarAlignment property works.

XAxisScrollBarAlignment = NearXAxisScrollBarAlignment = 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

YAxisScrollBarAlignment

XAxisScrollBarVisible

ScrollBarOptions Class

ScrollBarOptions Members

DevExpress.XtraCharts Namespace