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

In This Topic
    AllowZoomByResize Property (C1Zoom)
    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 AllowZoomByResize is true, zooming form's content by resizing form will not work in these situations:

    InnerPanelLayoutMode is InnerPanelLayoutMode.None.

    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