TouchToolKit for WinForms | ComponentOne
C1.Win.TouchToolKit Namespace / C1ApplicationZoom Class / AllowDoubleTapZoom Property
Example

In This Topic
    AllowDoubleTapZoom Property (C1ApplicationZoom)
    In This Topic
    Gets or sets a value indicating whether allow double tap to zoom. ZoomFactor will change to 2f or MaxZoomFactor if it is less than 2f before double tap; otherwise, it will change to 1f.
    Syntax
    'Declaration
     
    
    Public Property AllowDoubleTapZoom As Boolean
    public bool AllowDoubleTapZoom {get; set;}

    Property Value

    true if allow double tap to zoom; otherwise, false. The default is false.
    Example

    The following code example shows how to use this property.

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

    See Also