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
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

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

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.

Implements

IScrollSnapPointsInfo.GetIrregularSnapPoints(Orientation, SnapPointsAlignment)

See Also

Reference

StackPanel Class
Avalonia.Controls Namespace