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

获取与偏移量更改关联的关联 ID。

OffsetDelta

获取滚动偏移量的更改量。

Options

获取指定是否启用动画和遵循对齐点的选项。

适用于

另请参阅