Skip to main content

SnapPointsType Enum

Definition

Assembly:Avalonia.Controls
Package:Avalonia

Specify how panning snap points are processed for gesture input.

public enum SnapPointsType

Inheritance: Enum -> SnapPointsType

Fields

NameDescription
MandatoryContent always stops at the snap point closest to where inertia would naturally stop along the direction of inertia.
MandatorySingleContent always stops at the snap point closest to the release point along the direction of inertia.
NoneNo snapping behavior.

Mandatory Field

Content always stops at the snap point closest to where inertia would naturally stop along the direction of inertia.

public Avalonia.Controls.Primitives.SnapPointsType Mandatory

MandatorySingle Field

Content always stops at the snap point closest to the release point along the direction of inertia.

public Avalonia.Controls.Primitives.SnapPointsType MandatorySingle

None Field

No snapping behavior.

public Avalonia.Controls.Primitives.SnapPointsType None