ScrollSnapPointBase.Alignment 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 a value that indicates where the snap point is located in relation to the viewport.
public:
property ScrollSnapPointsAlignment Alignment { ScrollSnapPointsAlignment get(); };
ScrollSnapPointsAlignment Alignment();
public ScrollSnapPointsAlignment Alignment { get; }
var scrollSnapPointsAlignment = scrollSnapPointBase.alignment;
Public ReadOnly Property Alignment As ScrollSnapPointsAlignment
Property Value
A value of the enumeration that indicates where the snap point is located in relation to the viewport.
Remarks
The alignment enumeration values of Near
, Center
, or Far
indicate where the snap point is located in relation to the viewport. For example, for a horizontal snap point, the Near
alignment corresponds to the left edge of the viewport, Center
corresponds to the middle of the viewport, and Far
corresponds to the right edge.