ItemsLayout.SnapPointsAlignment Property

Definition

Gets or sets how items align to snap points when scrolling stops.

public:
 property Microsoft::Maui::Controls::SnapPointsAlignment SnapPointsAlignment { Microsoft::Maui::Controls::SnapPointsAlignment get(); void set(Microsoft::Maui::Controls::SnapPointsAlignment value); };
public Microsoft.Maui.Controls.SnapPointsAlignment SnapPointsAlignment { get; set; }
member this.SnapPointsAlignment : Microsoft.Maui.Controls.SnapPointsAlignment with get, set
Public Property SnapPointsAlignment As SnapPointsAlignment

Property Value

A SnapPointsAlignment value. The default is Start.

Remarks

This property only applies when SnapPointsType is not None. It controls whether items snap to the start, center, or end of the visible area.

Applies to