Udostępnij za pośrednictwem


RepeatedScrollSnapPoint Constructor

Definition

Initializes a new instance of the RepeatedScrollSnapPoint class with the specified values.

public:
 RepeatedScrollSnapPoint(double offset, double interval, double start, double end, ScrollSnapPointsAlignment alignment);
 RepeatedScrollSnapPoint(double const& offset, double const& interval, double const& start, double const& end, ScrollSnapPointsAlignment const& alignment);
public RepeatedScrollSnapPoint(double offset, double interval, double start, double end, ScrollSnapPointsAlignment alignment);
function RepeatedScrollSnapPoint(offset, interval, start, end, alignment)
Public Sub New (offset As Double, interval As Double, start As Double, end As Double, alignment As ScrollSnapPointsAlignment)

Parameters

offset
Double

double

The distance by which points are shifted from 0.

interval
Double

double

The distance between two successive points.

start
Double

double

The beginning of the range in which the snap points are effective.

end
Double

double

The end of the range in which the snap points are effective.

alignment
ScrollSnapPointsAlignment

A value that indicates where the snap point is located in relation to the viewport.

Applies to