DockPanel.DockTo(DockPanel, DockingStyle) Method

Docks the current panel to the specified panel using the specified style.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v21.1.dll


public void DockTo(
    DockPanel panel,
    DockingStyle dock


Name Type Description
panel DockPanel

The DockPanel to which the current DockPanel will dock.

dock DockingStyle

The DockingStyle value that specifies docking style.


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.


See Also