'Declaration
Public Event AnimationStarting As EventHandler(Of AnimationStartingEventArgs)
public event EventHandler<AnimationStartingEventArgs> AnimationStarting
Event Data
The event handler receives an argument of type AnimationStartingEventArgs containing data related to this event. The following AnimationStartingEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | Gets or sets a value indicating whether this animation is canceled. |
CurrentScrollLocation | Gets the current scroll location. |
CurrentZoomFactor | Gets the current zoom factor. |
Duration | Gets or sets the duration of animation. |
TargetScrollLocation | Gets the target scroll location. |
TargetZoomFactor | Gets the target zoom factor. |
Example
The following code example shows how to use this event.
This code example is part of a larger example provided for the AnimationStartingEventArgs class.
See Also