TouchToolKit for WinForms | ComponentOne
C1.Win.TouchToolKit Namespace / C1ZoomPanel Class / AnimationStarting Event
Example

In This Topic
    AnimationStarting Event (C1ZoomPanel)
    In This Topic
    Occurs before C1ZoomPanel start animation.
    Syntax
    '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.

    PropertyDescription
    Gets or sets a value indicating whether this animation is canceled.  
    Gets the current scroll location.  
    Gets the current zoom factor.  
    Gets or sets the duration of animation.  
    Gets the target scroll location.  
    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