RepeatedScrollSnapPoint 构造函数

定义

使用指定的值初始化 RepeatedScrollSnapPoint 类的新实例。

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)

参数

offset
Double

double

点从 0 移位的距离。

interval
Double

double

两个连续点之间的距离。

start
Double

double

对齐点有效范围的开始。

end
Double

double

吸附点有效范围的结束。

alignment
ScrollSnapPointsAlignment

一个 值,该值指示对齐点相对于视区的位置。

适用于