ScrollSnapPoint 类

定义

表示滚动内容可以对齐的单个点。

/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ScrollSnapPoint : ScrollSnapPointBase
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public class ScrollSnapPoint : ScrollSnapPointBase
Public Class ScrollSnapPoint
Inherits ScrollSnapPointBase
继承
Object IInspectable SnapPointBase ScrollSnapPointBase ScrollSnapPoint
属性

构造函数

ScrollSnapPoint(Double, ScrollSnapPointsAlignment)

使用指定的值和对齐方式初始化 ScrollSnapPoint 类的新实例。

属性

Alignment

获取一个值,该值指示对齐点相对于视区的位置。

(继承自 ScrollSnapPointBase)
Value

获取对齐点相对于视区原点的位置。

适用于