DockPanel.DockTo(DockPanel, DockingStyle) Method
Docks the current panel to the specified panel using the specified style.
Namespace: DevExpress.XtraBars.Docking
Assembly: DevExpress.XtraBars.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Parameters
Name | Type | Description |
---|---|---|
panel | DockPanel | |
dock | DockingStyle | The DockingStyle value that specifies docking style. |
Remarks
Use the DockTo method to dock the current panel to another panel using the specified style. You cannot dock a panel that is hidden or auto-hidden.
Note
- If a panel is docked into a DocumentManager’s TabbedView,
DockTo
methods do not affect this panel until you set its DockPanel.DockedAsTabbedDocument property tofalse
.
See Also