StackPanel.GetIrregularSnapPoints(Orientation, SnapPointsAlignment) Method

Definition

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

public:
 virtual IVectorView<float> ^ GetIrregularSnapPoints(Orientation orientation, SnapPointsAlignment alignment) = GetIrregularSnapPoints;
IVectorView<float> GetIrregularSnapPoints(Orientation orientation, SnapPointsAlignment 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

IReadOnlyList<Single>

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

Implements

<xref href="Windows.UI.Xaml.Controls.Primitives.IScrollSnapPointsInfo.GetIrregularSnapPoints(Windows.UI.Xaml.Controls.Orientation,Windows.UI.Xaml.Controls.Primitives.SnapPointsAlignment)?alt=Windows.UI.Xaml.Controls.Primitives.IScrollSnapPointsInfo.GetIrregularSnapPoints(Windows.UI.Xaml.Controls.Orientation,Windows.UI.Xaml.Controls.Primitives.SnapPointsAlignment)&text=GetIrregularSnapPoints(Orientation%2C+SnapPointsAlignment)" data-throw-if-not-resolved="True"/>

Applies to