ItemsPresenter.GetRegularSnapPoints Méthode

Définition

Retourne un décalage et un intervalle d’origine pour les points d’ancrage équidistants pour l’orientation spécifiée.

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

Paramètres

orientation
Orientation

Orientation des points d’ancrage demandés.

alignment
SnapPointsAlignment

Alignement utilisé par l’appelant lors de l’application des points d’ancrage demandés.

offset
Single

float

Décalage du premier point d’ancrage.

Retours

Single

float

Intervalle entre les points d’ancrage équidistants pour l’orientation spécifiée ou 0 lorsqu’aucun point d’ancrage n’est présent.

Implémente

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

S’applique à