ScrollControllerScrollToRequestedEventArgs 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供 IScrollController.ScrollToRequested
事件的資料。
public ref class ScrollControllerScrollToRequestedEventArgs sealed
/// [Windows.Foundation.Metadata.Activatable(Microsoft.UI.Xaml.Controls.Primitives.IScrollControllerScrollToRequestedEventArgsFactory, 327680, "Microsoft.UI.Xaml.XamlContract")]
/// [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 ScrollControllerScrollToRequestedEventArgs final
[Windows.Foundation.Metadata.Activatable(typeof(Microsoft.UI.Xaml.Controls.Primitives.IScrollControllerScrollToRequestedEventArgsFactory), 327680, "Microsoft.UI.Xaml.XamlContract")]
[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 sealed class ScrollControllerScrollToRequestedEventArgs
Public NotInheritable Class ScrollControllerScrollToRequestedEventArgs
- 繼承
- 屬性
建構函式
ScrollControllerScrollToRequestedEventArgs(Double, ScrollingScrollOptions) |
使用指定的位移和選項,初始化 ScrollControllerScrollToRequestedEventArgs 類別的新實例。 |
屬性
CorrelationId |
取得與位移變更相關聯的相互關聯標識符。 |
Offset |
取得目標捲動位移。 |
Options |
取得選項,指定是否啟用動畫,並遵守貼齊點。 |