Share via


SnapPointsAlignment Enum

Definition

Specifies how items align to snap points in a scrollable items layout.

public enum class SnapPointsAlignment
public enum SnapPointsAlignment
type SnapPointsAlignment = 
Public Enum SnapPointsAlignment
Inheritance
SnapPointsAlignment

Fields

Name Value Description
Start 0

Items snap to align with the start of the scrollable area. For vertical scrolling, items align to the top. For horizontal scrolling, items align to the left (or right in RTL).

Center 1

Items snap to align with the center of the scrollable area. The snapped item appears centered in the visible viewport.

End 2

Items snap to align with the end of the scrollable area. For vertical scrolling, items align to the bottom. For horizontal scrolling, items align to the right (or left in RTL).

Remarks

Snap points cause the scrolling to "snap" to specific positions, creating a paging-like effect. This enum controls where items align when they snap into position.

Applies to