Input for WinForms | ComponentOne
C1.Framework Namespace / DockPanel Class / AddChild Method
The Element to add.
The System.Windows.Forms.DockStyle option to use for the added child element.

In This Topic
    AddChild Method (DockPanel)
    In This Topic
    Adds child element with the specified System.Windows.Forms.DockStyle option.
    Syntax
    'Declaration
     
    
    Public Sub AddChild( _
       ByVal e As Element, _
       ByVal dock As DockStyle _
    ) 
    public void AddChild( 
       Element e,
       DockStyle dock
    )

    Parameters

    e
    The Element to add.
    dock
    The System.Windows.Forms.DockStyle option to use for the added child element.
    See Also