ScrollingScrollAnimationStartingEventArgs Class

Definition

Provides data for the ScrollView.ScrollAnimationStarting event.

public ref class ScrollingScrollAnimationStartingEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ScrollingScrollAnimationStartingEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ScrollingScrollAnimationStartingEventArgs
Public NotInheritable Class ScrollingScrollAnimationStartingEventArgs
Inheritance
Object Platform::Object IInspectable ScrollingScrollAnimationStartingEventArgs
Attributes

Remarks

These event args are used by the ScrollView.ScrollAnimationStarting event, which is raised when a call to ScrollTo or ScrollBy triggers an animation. You can handle the event to customize the animation.

Properties

Animation

Gets or sets the animation to run during the animated scroll offset change. The animation targets the content's position.

CorrelationId

Gets the correlation ID associated with the animated scroll offset change, previously returned by ScrollTo or ScrollBy.

EndPosition

Gets the position of the content at the end of the animation.

StartPosition

Gets the position of the content at the start of the animation.

Applies to

See also