共用方式為


ScrollControllerScrollByRequestedEventArgs 類別

定義

提供 IScrollController.ScrollByRequested 事件的資料。

public ref class ScrollControllerScrollByRequestedEventArgs sealed
/// [Windows.Foundation.Metadata.Activatable(Microsoft.UI.Xaml.Controls.Primitives.IScrollControllerScrollByRequestedEventArgsFactory, 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 ScrollControllerScrollByRequestedEventArgs final
[Windows.Foundation.Metadata.Activatable(typeof(Microsoft.UI.Xaml.Controls.Primitives.IScrollControllerScrollByRequestedEventArgsFactory), 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 ScrollControllerScrollByRequestedEventArgs
Public NotInheritable Class ScrollControllerScrollByRequestedEventArgs
繼承
Object Platform::Object IInspectable ScrollControllerScrollByRequestedEventArgs
屬性

建構函式

ScrollControllerScrollByRequestedEventArgs(Double, ScrollingScrollOptions)

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

屬性

CorrelationId

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

OffsetDelta

取得捲動位移的變更量。

Options

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

適用於

另請參閱