Back to Devexpress

DockManager.AddPanel(DockingStyle, DockPanel) Method

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

latest2.4 KB
Original Source

DockManager.AddPanel(DockingStyle, DockPanel) Method

Docks the specified panel to the DockManager container using the specified style.

Namespace : DevExpress.XtraBars.Docking

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Parameters

NameTypeDescription
dockDockingStyle

The DockingStyle value that specifies the docking style.

| | panel | DockPanel |

The DockPanel to be docked.

|

Remarks

Use the AddPanel method to dock the DockPanel to the DockManager‘s’ container using the specified style. Note that with this method, you cannot dock a DockPanel that is hidden or auto-hidden.

Unlike other AddPanel method overloads, the current method overload does not create a new DockPanel object.

See Also

AddPanel

Visibility

DockTo

DockManager Class

DockManager Members

DevExpress.XtraBars.Docking Namespace