ScrollViewer.VerticalScrollBarVisibility 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 vertical ScrollBar should be displayed.
Assembly: System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.
<ScrollViewer VerticalScrollBarVisibility="scrollBarVisibilityValue"/> -or- <object ScrollViewer.VerticalScrollBarVisibility="scrollBarVisibilityValue"/>
XAML Values
Property Value
Type: System.Windows.Controls.ScrollBarVisibilityA ScrollBarVisibility value that indicates whether a vertical ScrollBar should be displayed. The default value is Visible.
Dependency property identifier field: VerticalScrollBarVisibilityProperty
In XAML, VerticalScrollBarVisibility 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.
Show: