Share via


ScrollControllerScrollByRequestedEventArgs Class

Definition

Provides data for the IScrollController.ScrollByRequested event.

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
Inheritance
Object Platform::Object IInspectable ScrollControllerScrollByRequestedEventArgs
Attributes

Constructors

ScrollControllerScrollByRequestedEventArgs(Double, ScrollingScrollOptions)

Initializes a new instance of the ScrollControllerScrollByRequestedEventArgs class with the specified offset delta and options.

Properties

CorrelationId

Gets the correlation ID associated with the offset change.

OffsetDelta

Gets the amount of change to the scroll offset.

Options

Gets options that specify whether or not animations are enabled and snap points are respected.

Applies to

See also