Skip to main content

GetIrregularSnapPoints Method

Returns the set of distances between irregular snap points for a specified orientation and alignment.

Definition​

Namespace: Avalonia.Controls.Primitives
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

IReadOnlyList<double> GetIrregularSnapPoints(
Orientation orientation,
SnapPointsAlignment snapPointsAlignment
)
View Source

Parameters​

  Orientation
The orientation for the desired snap point set.
  SnapPointsAlignment
The alignment to use when applying the snap points.

Return Value​

IReadOnlyList(Double)
The read-only collection of snap point distances. Returns an empty collection when no snap points are present.

See Also​

Reference​

IScrollSnapPointsInfo Interface
Avalonia.Controls.Primitives Namespace