corelibraries-devexpress-dot-xtracharts-6b68b2b0.md
Lists the values used to specify the alignment of a scrollbar relative to an XY-diagram.
Namespace : DevExpress.XtraCharts
Assembly : DevExpress.XtraCharts.v25.2.dll
NuGet Package : DevExpress.Charts
[ResourceFinder(typeof(XtraChartsResFinder), "PropertyNamesRes")]
public enum ScrollBarAlignment
<ResourceFinder(GetType(XtraChartsResFinder), "PropertyNamesRes")>
Public Enum ScrollBarAlignment
| Name | Description |
|---|---|
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.
|
The following properties accept/return ScrollBarAlignment values:
| Library | Related API Members |
|---|---|
| Cross-Platform Class Library | ScrollBarOptions.XAxisScrollBarAlignment |
| ScrollBarOptions.YAxisScrollBarAlignment | |
| WinForms Controls | ScrollBarOptionsModel.XAxisScrollBarAlignment |
| ScrollBarOptionsModel.YAxisScrollBarAlignment |
The values listed by the ScrollBarAlignment enumeration are used to set the ScrollBarOptions.XAxisScrollBarAlignment and ScrollBarOptions.YAxisScrollBarAlignment properties.
For a related code example, refer to How to: Customize the Appearance of a Pane’s Scroll Bar (Runtime Sample).
See Also