Share via


ScrollingZoomAnimationStartingEventArgs Class

Definition

Provides data for the ScrollView.ZoomAnimationStarting event.

public ref class ScrollingZoomAnimationStartingEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ScrollingZoomAnimationStartingEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ScrollingZoomAnimationStartingEventArgs
Public NotInheritable Class ScrollingZoomAnimationStartingEventArgs
Inheritance
Object Platform::Object IInspectable 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

See also