ScrollViewer.SetVerticalScrollBarVisibility Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the value of the VerticalScrollBarVisibility dependency property / ScrollViewer.VerticalScrollBarVisibility
XAML attached property on a specified element.
public:
static void SetVerticalScrollBarVisibility(DependencyObject ^ element, ScrollBarVisibility verticalScrollBarVisibility);
static void SetVerticalScrollBarVisibility(DependencyObject const& element, ScrollBarVisibility const& verticalScrollBarVisibility);
public static void SetVerticalScrollBarVisibility(DependencyObject element, ScrollBarVisibility verticalScrollBarVisibility);
function setVerticalScrollBarVisibility(element, verticalScrollBarVisibility)
Public Shared Sub SetVerticalScrollBarVisibility (element As DependencyObject, verticalScrollBarVisibility As ScrollBarVisibility)
Parameters
- element
- DependencyObject
The element on which to set the property value.
- verticalScrollBarVisibility
- ScrollBarVisibility
The value to set.
Remarks
For more info, see the VerticalScrollBarVisibility property.