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.

    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