Share via


LoopingSelectorPanel.GetRegularSnapPoints Method

Definition

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

public:
 virtual float GetRegularSnapPoints(Orientation orientation, SnapPointsAlignment alignment, [Out] float & offset) = GetRegularSnapPoints;
float GetRegularSnapPoints(Orientation const& orientation, SnapPointsAlignment const& alignment, [Out] float & offset);
public float GetRegularSnapPoints(Orientation orientation, SnapPointsAlignment alignment, out float offset);
Public Function GetRegularSnapPoints (orientation As Orientation, alignment As SnapPointsAlignment, ByRef offset As Single) As 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.

offset
Single

float

The offset of the first snap point.

Returns

Single

float

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

Implements

M:Microsoft.UI.Xaml.Controls.Primitives.IScrollSnapPointsInfo.GetRegularSnapPoints(Microsoft.UI.Xaml.Controls.Orientation,Microsoft.UI.Xaml.Controls.Primitives.SnapPointsAlignment,System.Single@) M:Microsoft.UI.Xaml.Controls.Primitives.IScrollSnapPointsInfo.GetRegularSnapPoints(Microsoft.UI.Xaml.Controls.Orientation,Microsoft.UI.Xaml.Controls.Primitives.SnapPointsAlignment,float@)

Applies to