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

In This Topic
    AllowResizeByZoom Property (C1ApplicationZoom)
    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 C1Zoom.SetZoomFactor.

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

    See Also