共用方式為


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

取得相對於檢視區原點的貼齊點位置。

適用於