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