SetDock Method (DockPanel)
In This Topic
Changes the System.Windows.Forms.DockStyle option for the specified child element.
Syntax
'Declaration
Public Sub SetDock( _
ByVal As Element, _
ByVal As System.Windows.Forms.DockStyle _
)
public void SetDock(
Element ,
System.Windows.Forms.DockStyle
)
Parameters
- e
- The Element to change.
- dock
- The new System.Windows.Forms.DockStyle option to use.
See Also