共用方式為


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

值,指出貼齊點相對於檢視區的位置。

適用於