TouchToolKit for WinForms | ComponentOne
C1.Win.TouchToolKit Namespace / C1ZoomPanel Class / SetScrollLocation Method
The scroll location.
true to use animation; otherwise, false.
Example

In This Topic
    SetScrollLocation Method (C1ZoomPanel)
    In This Topic
    Sets the ScrollLocation and determines wheather use animation when change ScrollLocation.
    Syntax
    'Declaration
     
    
    Public Sub SetScrollLocation( _
       ByVal scrollLocation As Point, _
       Optional ByVal useAnimation As Boolean _
    ) 
    public void SetScrollLocation( 
       Point scrollLocation,
       bool useAnimation
    )

    Parameters

    scrollLocation
    The scroll location.
    useAnimation
    true to use animation; otherwise, false.
    Example

    The following code example shows how to use this method.

    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