ScrollSnapPoint(Double, ScrollSnapPointsAlignment) Constructor
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.
Initializes a new instance of the ScrollSnapPoint class with the specified value and alignment.
public:
ScrollSnapPoint(double snapPointValue, ScrollSnapPointsAlignment alignment);
ScrollSnapPoint(double const& snapPointValue, ScrollSnapPointsAlignment const& alignment);
public ScrollSnapPoint(double snapPointValue, ScrollSnapPointsAlignment alignment);
function ScrollSnapPoint(snapPointValue, alignment)
Public Sub New (snapPointValue As Double, alignment As ScrollSnapPointsAlignment)
Parameters
- snapPointValue
-
Double
double
The location of the snap point relative to the origin of the viewport.
- alignment
- ScrollSnapPointsAlignment
A value that indicates where the snap point is located in relation to the viewport.