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

In This Topic
    AllowZoomByResize Property (C1ApplicationZoom)
    In This Topic
    Gets or sets a value that indicates whether zoom form when resizing form.
    Syntax
    'Declaration
     
    
    Public Property AllowZoomByResize As Boolean
    public bool AllowZoomByResize {get; set;}

    Property Value

    true to zoom form when resizing form; otherwise, false. The default is true.
    Remarks

    Even though C1Zoom.AllowZoomByResize is true, zooming form's content by resizing form will not work in these situations:

    C1Zoom.InnerPanelLayoutMode is InnerPanelLayoutMode.None.

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

    See Also