共用方式為


ScrollSnapPoint(Double, ScrollSnapPointsAlignment) 建構函式

定義

使用指定的值和對齊方式,初始化 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

值,表示貼齊點相對於檢視區的位置。

適用於