ItemsPresenter.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

指定した方向の等間隔スナップ ポイント間の間隔。スナップ ポイントが存在しない場合は 0。

実装

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

適用対象