Udostępnij za pośrednictwem


ScrollViewer.SetVerticalScrollBarVisibility 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 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.

Applies to

See also