ItemsPresenter.GetRegularSnapPoints Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an original offset and interval for equidistant snap points for the specified orientation.
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
Parameters
- orientation
- Orientation
The orientation of the requested snap points.
- alignment
- SnapPointsAlignment
The alignment used by the caller when applying the requested snap points.
- offset
-
Single
float
The offset of the first snap point.
Returns
Single
float
The interval between equidistant snap points for the specified orientation or 0 when no snap points are present.
Implements
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@)