InputPanel for WinForms | ComponentOne
C1.Win.8 Assembly / C1.Framework Namespace / DockPanel Class / SetDock Method
The Element to change.
The new System.Windows.Forms.DockStyle option to use.

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

    Parameters

    e
    The Element to change.
    dock
    The new System.Windows.Forms.DockStyle option to use.
    See Also