ScrollViewer.HorizontalScrollBarVisibility Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets a value that indicates whether a horizontal ScrollBar should be displayed.
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.
<ScrollViewer HorizontalScrollBarVisibility="scrollBarVisibilityValue"/> -or- <object ScrollViewer.HorizontalScrollBarVisibility="scrollBarVisibilityValue"/>
XAML Values
Property Value
Type: System.Windows.Controls.ScrollBarVisibilityA ScrollBarVisibility value that indicates whether a horizontal ScrollBar should be displayed. The default value is Hidden.
Dependency property identifier field: HorizontalScrollBarVisibilityProperty
In XAML, HorizontalScrollBarVisibility can be set on a ScrollViewer object element as an attribute, or can also be set on child object elements within a ScrollViewer, using an attached property usage.