TreeView for WinForms | ComponentOne
C1.Framework Namespace / ControlHostElement Class / ControlHostElement Constructor / ControlHostElement Constructor(Style,Control)
The Style object to use.
The Control that this element is hosting.

In This Topic
    ControlHostElement Constructor(Style,Control)
    In This Topic
    Initializes a new instance of the ControlHostElement with the specified style and control to host.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal style As Style, _
       ByVal hostedControl As Control _
    )
    public ControlHostElement( 
       Style style,
       Control hostedControl
    )

    Parameters

    style
    The Style object to use.
    hostedControl
    The Control that this element is hosting.
    See Also