ScrollControllerScrollToRequestedEventArgs Class

Definition

Provides data for the IScrollController.ScrollToRequested event.

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

Constructors

ScrollControllerScrollToRequestedEventArgs(Double, ScrollingScrollOptions)

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

Properties

CorrelationId

Gets the correlation ID associated with the offset change.

Offset

Gets the target scroll offset.

Options

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

Applies to

See also