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

Out パラメーター。 最初のスナップ ポイントのオフセット。

戻り値

Single

float

等間隔のスナップ ポイント間の距離。 スナップ ポイントが存在しない場合は 0 を返します。

実装

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

適用対象