Delen via


IScrollSnapPointsInfo.GetIrregularSnapPoints Method

Definition

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

public:
 IVectorView<float> ^ GetIrregularSnapPoints(Orientation orientation, SnapPointsAlignment alignment);
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/dimension for the desired snap point set.

alignment
SnapPointsAlignment

The alignment to use when applying the snap points.

Returns

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

Applies to