Back to Devexpress

ScrollControl.HorizontalScrollBarStyle Property

wpf-devexpress-dot-xpf-dot-core-dot-scrollcontrol-eccfaa61.md

latest2.0 KB
Original Source

ScrollControl.HorizontalScrollBarStyle Property

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

Namespace : DevExpress.Xpf.Core

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public Style HorizontalScrollBarStyle { get; set; }
vb
Public Property HorizontalScrollBarStyle As Style

Property Value

TypeDescription
Style

A Style object applied to a horizontal scroll bar.

|

Remarks

A 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 to display the required scroll bars.

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

TargetType : ScrollBar.

See Also

VerticalScrollBarStyle

ScrollBars

ScrollControl Class

ScrollControl Members

DevExpress.Xpf.Core Namespace