Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.