Aracılığıyla paylaş


ScrollViewer.SetHorizontalScrollBarVisibility Method

Definition

Sets the value of the HorizontalScrollBarVisibility dependency property / ScrollViewer.HorizontalScrollBarVisibility XAML attached property on a specified element.

public:
 static void SetHorizontalScrollBarVisibility(DependencyObject ^ element, ScrollBarVisibility horizontalScrollBarVisibility);
 static void SetHorizontalScrollBarVisibility(DependencyObject const& element, ScrollBarVisibility const& horizontalScrollBarVisibility);
public static void SetHorizontalScrollBarVisibility(DependencyObject element, ScrollBarVisibility horizontalScrollBarVisibility);
function setHorizontalScrollBarVisibility(element, horizontalScrollBarVisibility)
Public Shared Sub SetHorizontalScrollBarVisibility (element As DependencyObject, horizontalScrollBarVisibility As ScrollBarVisibility)

Parameters

element
DependencyObject

The element on which to set the property value.

horizontalScrollBarVisibility
ScrollBarVisibility

The value to set.

Remarks

For more info, see Remarks for the HorizontalScrollBarVisibility property.

Applies to

See also