共用方式為


ScrollControllerScrollToRequestedEventArgs 類別

定義

提供 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
繼承
Object Platform::Object IInspectable ScrollControllerScrollToRequestedEventArgs
屬性

建構函式

ScrollControllerScrollToRequestedEventArgs(Double, ScrollingScrollOptions)

使用指定的位移和選項,初始化 ScrollControllerScrollToRequestedEventArgs 類別的新實例。

屬性

CorrelationId

取得與位移變更相關聯的相互關聯標識符。

Offset

取得目標捲動位移。

Options

取得選項,指定是否啟用動畫,並遵守貼齊點。

適用於

另請參閱