'Declaration
Public Event ControlFontZooming As EventHandler(Of ControlFontZoomingEventArgs)
public event EventHandler<ControlFontZoomingEventArgs> ControlFontZooming
The event handler receives an argument of type ControlFontZoomingEventArgs containing data related to this event. The following ControlFontZoomingEventArgs 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 ControlFontZooming event is handled by user. |
TargetControl | Gets the target control which is preparing to zoom. |
ZoomFontInfo | Gets the informations for current zoom action. |
You can set ControlFontZoomingEventArgs.Handled to avoid default logic of C1ZoomPanel for current control.
You can set ControlFontZoomingEventArgs.ChildrenHandled to avoid default logic of C1ZoomPanel for current control's child control.
The following code example shows how to use this event.
This code example is part of a larger example provided for the ZoomFactorChanged event.
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