DockPanel.DockTo(DockPanel, DockingStyle) Method

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

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

public void DockTo(
    DockPanel panel,
    DockingStyle dock
)
Public Sub DockTo(
    panel As DockPanel,
    dock As DockingStyle
)

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