Skip to main content

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

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 panel to another panel using the specified style. You cannot dock a panel that is hidden or auto-hidden.

Note

See Also