ScrollViewer.GetVerticalScrollBarVisibility Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets the value of the VerticalScrollBarVisibility dependency property from a specified element.
Assembly: System.Windows (in System.Windows.dll)
Parameters
- element
- Type: System.Windows.DependencyObject
The element from which the property value is read.
Return Value
Type: System.Windows.Controls.ScrollBarVisibilityThe value of the VerticalScrollBarVisibility dependency property.
| Exception | Condition |
|---|---|
| ArgumentNullException | element is null. |
Show: