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
一个 值,该值指示对齐点相对于视区的位置。