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

In This Topic
    AllowPinchZoom Property (C1ZoomPanel)
    In This Topic
    Gets or sets a value indicating whether the panel can perform gesture zoom.
    Syntax
    'Declaration
     
    
    Public Property AllowPinchZoom As Boolean
    public bool AllowPinchZoom {get; set;}

    Property Value

    true if the panel can perform gesture zoom; otherwise, false. The default is true.
    Example

    The following code example shows how to enable/disable the gesture zoom.

    This code example is part of a larger example provided for the AllowPinchZoom property.

    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