RepeatedScrollSnapPoint 类

定义

表示滚动内容可以对齐的多个等距点。

/// [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 RepeatedScrollSnapPoint : 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 RepeatedScrollSnapPoint : ScrollSnapPointBase
Public Class RepeatedScrollSnapPoint
Inherits ScrollSnapPointBase
继承
Object IInspectable SnapPointBase ScrollSnapPointBase RepeatedScrollSnapPoint
属性

构造函数

RepeatedScrollSnapPoint(Double, Double, Double, Double, ScrollSnapPointsAlignment)

使用指定的值初始化 RepeatedScrollSnapPoint 类的新实例。

属性

Alignment

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

(继承自 ScrollSnapPointBase)
End

获取对齐点的有效范围末尾。

Interval

获取两个连续点之间的距离。

Offset

获取点从 0 移位的距离。

Start

获取对齐点有效范围的开头。

适用于