ScrollControllerAddScrollVelocityRequestedEventArgs Class

Definition

Provides data for the IScrollController.AddScrollVelocityRequested event.

public ref class ScrollControllerAddScrollVelocityRequestedEventArgs sealed
/// [Windows.Foundation.Metadata.Activatable(Microsoft.UI.Xaml.Controls.Primitives.IScrollControllerAddScrollVelocityRequestedEventArgsFactory, 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 ScrollControllerAddScrollVelocityRequestedEventArgs final
[Windows.Foundation.Metadata.Activatable(typeof(Microsoft.UI.Xaml.Controls.Primitives.IScrollControllerAddScrollVelocityRequestedEventArgsFactory), 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 ScrollControllerAddScrollVelocityRequestedEventArgs
Public NotInheritable Class ScrollControllerAddScrollVelocityRequestedEventArgs
Inheritance
Object Platform::Object IInspectable ScrollControllerAddScrollVelocityRequestedEventArgs
Attributes

Constructors

ScrollControllerAddScrollVelocityRequestedEventArgs(Single, IReference<Single>)

Initializes a new instance of the ScrollControllerAddScrollVelocityRequestedEventArgs class with the specified offset velocity and inertia decay rate.

Properties

CorrelationId

Gets or sets the correlation ID associated with the offset change.

InertiaDecayRate

Gets the inertia decay rate, between 0.0 and 1.0, for the requested scroll operation.

OffsetVelocity

Gets the requested velocity of the offset change.

Applies to

See also