[]
Initializes the control before zoom action start.
public override void Initialize(Control control)
Type | Name | Description |
---|---|---|
Control | control | The specified control. |
This method will be called before all control zoom. In some control, the bounds/font may change when parent control changed. User can cache some original bound/font in this method before parent change. And use the cached value in ZoomBounds(Control, ZoomBoundsInfo) and ZoomFont(Control, ZoomFontInfo) method.
Not all control need to handle this method.