StackPanel.GetRegularSnapPoints(Orientation, SnapPointsAlignment, Single) Method

Definition

Gets the distance between regular snap points for a specified orientation and alignment.

float GetRegularSnapPoints(Orientation orientation, SnapPointsAlignment 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

Parameters

orientation
Orientation

The orientation/dimension for the desired snap point set.

alignment
SnapPointsAlignment

The alignment to use when applying the snap points.

offset
Single

Out parameter. The offset of the first snap point.

Returns

Single

The distance between the equidistant snap points. Returns 0 when no snap points are present.

Implements

Applies to