ItemsLayout.SnapPointsType Property

Definition

Gets or sets the snap points behavior when scrolling.

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

Property Value

A SnapPointsType value. The default is None.

Remarks

Snap points cause scrolling to "snap" to specific item positions, creating a paging-like effect. Set this to Mandatory or MandatorySingle to enable snapping behavior.

Applies to