-api-id | -api-type |
---|---|
T:Microsoft.UI.Xaml.Controls.Primitives.ScrollSnapPointsAlignment |
winrt enum |
Defines constants that specify options for snap point alignment relative to a viewport edge. Which edge depends on the orientation of the object where the alignment is applied.
Use snap points grouped closer to the orientation edge.
Use snap points that are centered in the orientation.
Use snap points grouped farther from the orientation edge.
For a vertically oriented element, Near
is the top and Far
is the bottom. For a horizontally oriented element, Near
is left and Far
is right.
To learn more about the swipe gesture and panning, see the "Panning behaviors" section of Guidelines for panning.