ScrollingZoomAnimationStartingEventArgs Class

Definition

Provides data for the ScrollView.ZoomAnimationStarting event.

C#
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ScrollingZoomAnimationStartingEventArgs
Inheritance
Object ScrollingZoomAnimationStartingEventArgs
Attributes

Remarks

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

Properties

Animation

Gets or sets the animation to run during the animated zoom factor change. The animation targets the content's scale.

CenterPoint

Gets the center point for the zoom factor change.

CorrelationId

Gets the correlation ID associated with the animated zoom factor change, previously returned by ZoomTo or ZoomBy.

EndZoomFactor

Gets the content scale at the end of the animation.

StartZoomFactor

Gets the content scale at the start of the animation.

Applies to

Produkt Verzie
Windows App SDK 1.4, 1.5, 1.6

See also