ComponentOne FinancialChart for WPF
C1.WPF Namespace / C1ListViewer Class / ZoomAnimation Method
The target zoom.
A screen point where the animation is anchored.
Action called when the the animation completed.



In This Topic
    ZoomAnimation Method
    In This Topic
    Call a zooms animation.
    Syntax
    'Declaration
     
    
    Public Sub ZoomAnimation( _
       ByVal targetZoom As Double, _
       ByVal screenPoint As Point, _
       ByVal completed As Action _
    ) 
    'Usage
     
    
    Dim instance As C1ListViewer
    Dim targetZoom As Double
    Dim screenPoint As Point
    Dim completed As Action
     
    instance.ZoomAnimation(targetZoom, screenPoint, completed)
    public void ZoomAnimation( 
       double targetZoom,
       Point screenPoint,
       Action completed
    )
    public:
    void ZoomAnimation( 
       double targetZoom,
       Point screenPoint,
       Action^ completed
    ) 

    Parameters

    targetZoom
    The target zoom.
    screenPoint
    A screen point where the animation is anchored.
    completed
    Action called when the the animation completed.
    See Also