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

ScrollBarOptions.YAxisScrollBarAlignment Property

Specifies the alignment of the Y-axis scroll bar.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v18.2.dll

Declaration

[XtraSerializableProperty]
public ScrollBarAlignment YAxisScrollBarAlignment { get; set; }
<XtraSerializableProperty>
Public Property YAxisScrollBarAlignment As ScrollBarAlignment

Property Value

Type Description
ScrollBarAlignment

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 YAxisScrollBarAlignment
XYDiagramDefaultPane
.ScrollBarOptions.YAxisScrollBarAlignment
XYDiagramPane
.ScrollBarOptions.YAxisScrollBarAlignment
XYDiagramPaneBase
.ScrollBarOptions.YAxisScrollBarAlignment

Remarks

The following images demonstrate how the YAxisScrollBarAlignment property works.

YAxisScrollBarAlignment = Near YAxisScrollBarAlignment = Far
EnableAxisYScrolling YAxisScrollbar_Far

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

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

See Also