'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.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also