TouchToolKit for WinForms | ComponentOne
C1.Win.TouchToolKit Namespace / MonthCalendarZoomPolicy Class / Initialize Method
The specified control.

In This Topic
    Initialize Method (MonthCalendarZoomPolicy)
    In This Topic
    Initializes the control before zoom action start.
    Syntax
    'Declaration
     
    
    Public Overridable Sub Initialize( _
       ByVal control As Control _
    ) 
    public virtual void Initialize( 
       Control control
    )

    Parameters

    control
    The specified control.
    Remarks

    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 ZoomPolicy.ZoomBounds and ZoomPolicy.ZoomFont method.

    Not all control need to handle this method.
    See Also