TouchToolKit for WinForms | ComponentOne
C1.Win.TouchToolKit Namespace / C1ApplicationZoom Class / C1ZoomAttaching Event
Example

In This Topic
    C1ZoomAttaching Event (C1ApplicationZoom)
    In This Topic
    Occurs when the C1Zoom component is preparing attach to a System.Windows.Forms.Form.
    Syntax
    'Declaration
     
    
    Public Event C1ZoomAttaching As EventHandler(Of C1ZoomAttachingEventArgs)
    public event EventHandler<C1ZoomAttachingEventArgs> C1ZoomAttaching
    Event Data

    The event handler receives an argument of type C1ZoomAttachingEventArgs containing data related to this event. The following C1ZoomAttachingEventArgs properties provide information specific to this event.

    PropertyDescription
    Gets or sets a value indicating whether this C1ZoomAttaching event is cancel.  
    Gets the System.Windows.Forms.Form that is preparing be attached by C1Zoom component.  
    Gets the C1Zoom component that is preparing attach to the Form.  
    Remarks

    You can change the initial settings of C1Zoom component in this event's event handler.

    You can cancel current attaching operation by set C1ZoomAttachingEventArgs.Cancel property to true.

    Example

    The following code example shows how to use this event.

    This code example is part of a larger example provided for the C1ApplicationZoom class.

    See Also