Back to Devexpress

DockPanel.DockTo(DockPanel, DockingStyle) Method

windowsforms-devexpress-dot-xtrabars-dot-docking-dot-dockpanel-dot-dockto-x28-devexpress-dot-xtrabars-dot-docking-dot-dockpanel-devexpress-dot-xtrabars-dot-docking-dot-dockingstyle-x29.md

latest2.5 KB
Original Source

DockPanel.DockTo(DockPanel, DockingStyle) Method

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

Namespace : DevExpress.XtraBars.Docking

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Parameters

NameTypeDescription
panelDockPanel

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

Dock

Visibility

AddPanel

Interaction with Dock Panels

DockPanel Class

DockPanel Members

DevExpress.XtraBars.Docking Namespace