ScrollSnapPoint(Double, ScrollSnapPointsAlignment) Constructor

Definition

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.

Applies to