ScrollView.HorizontalScrollBarVisibility Property
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.
Gets or sets a value that indicates whether a scroll controller should be displayed for the horizontal scrolling direction.
public:
property ScrollingScrollBarVisibility HorizontalScrollBarVisibility { ScrollingScrollBarVisibility get(); void set(ScrollingScrollBarVisibility value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollView::s_defaultHorizontalScrollBarVisibility")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollView::s_defaultHorizontalScrollBarVisibility")]
ScrollingScrollBarVisibility HorizontalScrollBarVisibility();
void HorizontalScrollBarVisibility(ScrollingScrollBarVisibility value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollView::s_defaultHorizontalScrollBarVisibility")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollView::s_defaultHorizontalScrollBarVisibility")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollView::s_defaultHorizontalScrollBarVisibility")]
ScrollingScrollBarVisibility HorizontalScrollBarVisibility();
void HorizontalScrollBarVisibility(ScrollingScrollBarVisibility value);
public ScrollingScrollBarVisibility HorizontalScrollBarVisibility { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollView::s_defaultHorizontalScrollBarVisibility")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollView::s_defaultHorizontalScrollBarVisibility")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollView::s_defaultHorizontalScrollBarVisibility")]
public ScrollingScrollBarVisibility HorizontalScrollBarVisibility { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollView::s_defaultHorizontalScrollBarVisibility")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="ScrollView::s_defaultHorizontalScrollBarVisibility")] set; }
var scrollingScrollBarVisibility = scrollView.horizontalScrollBarVisibility;
scrollView.horizontalScrollBarVisibility = scrollingScrollBarVisibility;
Public Property HorizontalScrollBarVisibility As ScrollingScrollBarVisibility
Property Value
A value that indicates whether a scroll controller should be displayed for the horizontal scrolling direction. The default is Auto
.
- Attributes
-
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute