| C1.Win.TouchToolKit Namespace > C1ZoomPanel Class : AnimationStarting Event |
'DeclarationPublic Event AnimationStarting As System.EventHandler(Of AnimationStartingEventArgs)
public event System.EventHandler<AnimationStartingEventArgs> AnimationStarting
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. |
The following code example shows how to use this event.
This code example is part of a larger example provided for the AnimationStartingEventArgs class.
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