StackPanel.GetRegularSnapPoints Método

Definição

Obtém a distância entre pontos de ajuste regulares para uma orientação e alinhamento especificados.

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

Parâmetros

orientation
Orientation

A orientação/dimensão do conjunto de pontos de ajuste desejado.

alignment
SnapPointsAlignment

O alinhamento a ser usado ao aplicar os pontos de ajuste.

offset
Single

float

Parâmetro de saída. O deslocamento do primeiro ponto de ajuste.

Retornos

Single

float

A distância entre os pontos de ajuste equidistantes. Retorna 0 quando nenhum ponto de ajuste está presente.

Implementações

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

Aplica-se a