ScrollSnapPoint(Double, ScrollSnapPointsAlignment) 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
使用指定的值和對齊方式,初始化 ScrollSnapPoint 類別的新實例。
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)
參數
- snapPointValue
-
Double
double
相對於檢視區原點的貼齊點位置。
- alignment
- ScrollSnapPointsAlignment
值,表示貼齊點相對於檢視區的位置。