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

In This Topic
    AllowResizeByZoom Property (C1Zoom)
    In This Topic
    Gets or sets a value that indicates whether resize form when zooming form.
    Syntax
    'Declaration
     
    
    Public Property AllowResizeByZoom As Boolean
    public bool AllowResizeByZoom {get; set;}

    Property Value

    true to resize form when zooming form; otherwise, false. The default is false.
    Remarks

    Even though AllowResizeByZoom is true, resizing form by zooming form will not work in these situations:

    InnerPanelLayoutMode is InnerPanelLayoutMode.None.

    ZoomPreviewMode is ZoomPreviewMode.NoPreview.

    Pinch zoom when ZoomPreviewMode is ZoomPreviewMode.AlternativeContent.

    Set ZoomFactor by SetZoomFactor(float,false).

    The ownerForm's System.Windows.Forms.Form.IsMdiContainer is true.

    Example

    The following code example shows how to use this property.

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

    See Also