DockPanel.DockTo Method

Name Parameters Description
DockTo(DockingStyle) dock Docks the current panel to the form (or user control) using the specified style.
DockTo(DockingStyle, Int32) dock, index Docks the current panel to the form (user control) at the specified position using the specified style.
DockTo(DockManager, DockingStyle) dockManager, dock Obsolete. This method is not supported.
DockTo(DockManager, DockingStyle, Int32) dockManager, dock, index Obsolete. This method is not supported.
DockTo(DockPanel) panel Docks the current panel to the specified panel.
DockTo(DockPanel, DockingStyle) panel, dock Docks the current panel to the specified panel using the specified style.
DockTo(DockPanel, DockingStyle, Int32) panel, dock, index Docks the current panel on the form (user control) to the specified panel at the specified position using the specified style.
DockTo(DockPanel, Int32) panel, index Docks the current panel to the specified panel in the specified position.