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

DockPanel.DockTo(DockPanel, DockingStyle) Method

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

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v18.2.dll

Declaration

public void DockTo(
    DockPanel panel,
    DockingStyle dock
)

Parameters

Name Type Description
panel DockPanel

The DockPanel to which the current DockPanel will dock.

dock DockingStyle

The DockingStyle value that specifies docking style.

Remarks

Use the DockTo method to dock the current DockPanel to the specified DockPanel using the specified style. Note that via this method you can not dock a DockPanel that is hidden or auto-hidden. It is also not possible to use the DockingStyle.Fill value as the dock parameter.

See Also