ScrollViewer.VerticalScrollBarVisibility Property
Gets or sets a value that indicates whether a vertical ScrollBar should be displayed.
Namespace: System.Windows.Controls
Assembly: System.Windows (in System.Windows.dll)
<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.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.