TouchToolKit for WinForms | ComponentOne
C1.Win.TouchToolKit Namespace / C1Zoom Class / ShowPanWindow Method / ShowPanWindow() Method
Example

In This Topic
    ShowPanWindow() Method
    In This Topic
    Shows the pan window.
    Syntax
    'Declaration
     
    
    Public Overloads Function ShowPanWindow() As Form
    public Form ShowPanWindow()

    Return Value

    A System.Windows.Forms.Form value that represents the pan window.
    Remarks

    Pan window will show only when the owner form is loaded, and when the owner form is closed, pan window will be closed too.

    If pan window has been shown to call this method will do nothing.

    Pan window will move as the owner form move if it is showed by this method.

    Pan window's System.Windows.Forms.Form.StartPosition is System.Windows.Forms.FormStartPosition.Manual, and its System.Windows.Forms.Form.Size and System.Windows.Forms.Form.Location depends on owner form if the pan window is showed by this method.

    Example

    The following code example shows how to use this method.

    See Also