'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.
Property | Description |
---|---|
Cancel | Gets or sets a value indicating whether this C1ZoomAttaching event is cancel. |
Form | Gets the System.Windows.Forms.Form that is preparing be attached by C1Zoom component. |
GcZoom | 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.
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