ScrollViewer.SetVerticalScrollBarVisibility(DependencyObject, ScrollBarVisibility) ScrollViewer.SetVerticalScrollBarVisibility(DependencyObject, ScrollBarVisibility) ScrollViewer.SetVerticalScrollBarVisibility(DependencyObject, ScrollBarVisibility) ScrollViewer.SetVerticalScrollBarVisibility(DependencyObject, ScrollBarVisibility) Method

Definition

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 element, ScrollBarVisibility verticalScrollBarVisibility) const;
public static void SetVerticalScrollBarVisibility(DependencyObject element, ScrollBarVisibility verticalScrollBarVisibility)
Public Shared Sub SetVerticalScrollBarVisibility(element As DependencyObject, verticalScrollBarVisibility As ScrollBarVisibility)

Parameters

element
DependencyObject DependencyObject

The element on which to set the property value.

verticalScrollBarVisibility
ScrollBarVisibility ScrollBarVisibility

The value to set.

Remarks

For more info, see the VerticalScrollBarVisibility property.

See also