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

In This Topic
    C1Zoom Class
    In This Topic
    Represents the component which can be attached to any existing form, and made the form can be zoom by two finger touch.
    Object Model
    C1Zoom Class
    Syntax
    'Declaration
     
    
    Public Class C1Zoom 
       Inherits System.ComponentModel.Component
    public class C1Zoom : System.ComponentModel.Component 
    Remarks

    When form load, GcZoom will change all form's children control to a inner panel. So after form loaded, you can't access children controls by Form.Controls property. You should use GcZoom.Controls property instead.

    If the form contains a C1ZoomPanel, C1Zoom can't attach to the form.

    A form can't attach two or more GcZoom component.

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

    Example

    The following code example shows how to configure C1Zoom component to get different zoom effect.

    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 C1Zoom 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
             C1.Win.TouchToolKit.C1Zoom

    See Also