Skip to content

Latest commit

 

History

History
34 lines (19 loc) · 1.18 KB

scrollview_verticalscrollrailmode.md

File metadata and controls

34 lines (19 loc) · 1.18 KB
-api-id -api-type
P:Microsoft.UI.Xaml.Controls.ScrollView.VerticalScrollRailMode
winrt property

Microsoft.UI.Xaml.Controls.ScrollView.VerticalScrollRailMode

-description

Gets or sets a value that indicates whether the scroll rail is enabled for the vertical axis.

-property-value

A value that indicates whether the scroll rail is enabled for the vertical axis. The default is Enabled.

-remarks

When content is scrolled without manipulating the scrollbar directly, for example, by touch, we call it panning. Because content can be both wider and taller than the display area, two-dimensional panning (horizontal and vertical) is often necessary. Rails improve the user experience in these cases by locking the panning to the axis of motion, either vertical or horizontal, as if the content were on a rail.

The following diagram demonstrates the concept of rails.

diagram of a screen with rails that constrain panning

For more info, see Guidelines for panning.

-see-also

-examples