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

In This Topic
    C1ZoomPanel Class
    In This Topic
    Represents the component which can be enables you to group collections of controls and made these controls can be zoom by two finger touch.
    Object Model
    C1ZoomPanel Class
    Syntax
    'Declaration
     
    
    Public Class C1ZoomPanel 
       Inherits System.Windows.Forms.Panel
    public class C1ZoomPanel : System.Windows.Forms.Panel 
    Remarks

    When the C1ZoomPanel loaded, C1ZoomPanel will change all GcZoomPanel's children control to a inner panel. In run time, you should use GcZoomPanel.InnerControls property instead of GcZoomPanel.Controls

    You can't use C1Zoom and C1ZoomPanel together.

    C1ZoomPanel can't be a child of another C1ZoomPanel.

    The C1ZoomPanel can't change the tooltip, contextMenu, common dialog's font and size.

    Example

    The following code example shows how to use C1ZoomPanel component.

    You can copy the code to a exsit Windows Forms appliction. And set the form in the sample code as start form.

    If you find a licenses error when run this code. Try to drag a C1ZoomPanel component to a any Form from tool box can generate the licenses information to this project.

    Inheritance Hierarchy

    System.Object
       System.MarshalByRefObject
          System.ComponentModel.Component
             System.Windows.Forms.Control
                System.Windows.Forms.ScrollableControl
                   System.Windows.Forms.Panel
                      C1.Win.TouchToolKit.C1ZoomPanel

    See Also