Teilen über


LoopingSelectorPanel.GetRegularSnapPoints Methode

Definition

Gibt eine schreibgeschützte Auflistung von Zahlen zurück, die die regulären Einrastpunkte für die angegebene Ausrichtung darstellen.

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

Parameter

orientation
Orientation

Die Ausrichtung der angeforderten Einrastpunkte.

alignment
SnapPointsAlignment

Die Ausrichtung, die vom Aufrufer beim Anwenden der angeforderten Einrastpunkte verwendet wird.

offset
Single

float

Der Offset des ersten Anrastpunkts.

Gibt zurück

Single

float

Eine schreibgeschützte Auflistung von Zahlen, die die regulären Einrastpunkte für die angegebene Ausrichtung darstellen, oder eine leere Auflistung, wenn keine regulären Einrastpunkte vorhanden sind.

Implementiert

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

Gilt für: