ItemsPresenter.GetIrregularSnapPoints(Orientation, SnapPointsAlignment) Method

Definition

Returns a read-only collection of numbers that represent the snap points for the specified orientation.

Equivalent WinUI method: Microsoft.UI.Xaml.Controls.ItemsPresenter.GetIrregularSnapPoints.

public:
 virtual IVectorView<float> ^ GetIrregularSnapPoints(Orientation orientation, SnapPointsAlignment alignment) = GetIrregularSnapPoints;
IVectorView<float> GetIrregularSnapPoints(Orientation const& orientation, SnapPointsAlignment const& alignment);
public IReadOnlyList<float> GetIrregularSnapPoints(Orientation orientation, SnapPointsAlignment alignment);
function getIrregularSnapPoints(orientation, alignment)
Public Function GetIrregularSnapPoints (orientation As Orientation, alignment As SnapPointsAlignment) As IReadOnlyList(Of Single)

Parameters

orientation
Orientation

The orientation of the requested snap points.

alignment
SnapPointsAlignment

The alignment used by the caller when applying the requested snap points.

Returns

IVectorView<Single>

IReadOnlyList<Single>

IVectorView<float>

A read-only collection of numbers that represent the snap points for the specified orientation, or an empty collection when no snap points are present.

Implements

Applies to