Skip to main content

ScrollControl.VerticalScrollBarStyle Property

Gets or sets a style applied to a vertical scroll bar. This is a dependency property.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v24.2.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public Style VerticalScrollBarStyle { get; set; }

Property Value

Type Description
Style

A Style object applied to a vertical scroll bar.

Remarks

The content within a scrollable layout control (the ScrollControl class descendant) can be scrolled via scroll bars, the drag scroll feature (see the ScrollControl.DragScrolling link) or mouse scroll button. Set the ScrollControl.ScrollBars property to Auto in order to display required scroll bars.

The VerticalScrollBarStyle property customizes a vertical scroll bar’s appearance by applying a System.Windows.Style object to it. Use the ScrollControl.HorizontalScrollBarStyle property to customize a horizontal scroll bar.

TargetType: ScrollBar.

See Also