共用方式為


LoopingSelectorPanel.GetRegularSnapPoints 方法

定義

會傳回代表指定方向之一般貼齊點之數位的唯讀集合。

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

參數

orientation
Orientation

要求貼齊點的方向。

alignment
SnapPointsAlignment

套用要求的貼齊點時,呼叫端所使用的對齊方式。

offset
Single

float

第一個貼齊點的位移。

傳回

Single

float

代表指定方向之一般貼齊點的數位唯讀集合,如果沒有一般貼齊點,則為空集合。

實作

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@)

適用於