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

In This Topic
    Initialize Method (TreeViewZoomPolicy)
    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 ZoomBounds and ZoomFont method.

    Not all control need to handle this method.
    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