VirtualizingStackPanelGetIrregularSnapPoints 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) Version: 11.3.999
public IReadOnlyList<double> GetIrregularSnapPoints(
	Orientation orientation,
	SnapPointsAlignment snapPointsAlignment
)

Parameters

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

Return Value

IReadOnlyListDouble
The read-only collection of snap point distances. Returns an empty collection when no snap points are present.

Implements

IScrollSnapPointsInfoGetIrregularSnapPoints(Orientation, SnapPointsAlignment)

See Also