RepeatedScrollSnapPoint 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
使用指定的值,初始化 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
值,指出貼齊點相對於檢視區的位置。