'Declaration
Public Event ControlBoundsZooming As EventHandler(Of ControlBoundsZoomingEventArgs)
public event EventHandler<ControlBoundsZoomingEventArgs> ControlBoundsZooming
Event Data
The event handler receives an argument of type ControlBoundsZoomingEventArgs containing data related to this event. The following ControlBoundsZoomingEventArgs properties provide information specific to this event.
Property | Description |
---|---|
ChildrenHandled | Gets or sets a value indicating whether the child controls' zoom logic is handled by user. |
Handled | Gets or sets a value indicating whether this ControlBoundsZooming event is handled by user. |
TargetControl | Gets the target control which is preparing to zoom. |
ZoomBoundsInfo | Gets the informations for current zoom action. |
Remarks
You can set ControlBoundsZoomingEventArgs.Handled to avoid default logic of C1Zoom for current control.
You can set ControlBoundsZoomingEventArgs.ChildrenHandled to avoid default logic of C1Zoom for current control's child control.
Example
The following code example shows how to use this event.
This code example is part of a larger example provided for the ZoomFactorChanged event.
See Also