Skip to main content
A newer version of this page is available. .

DockPanel.DockTo Method

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