All docs
V21.2
21.2
21.1
20.2
The page you are viewing does not exist in version 20.2. This link will take you to the root page.
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

DockManager.AddPanel(Control, DockingStyle, String) Method

Creates a new panel and docks it to the required position.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v21.2.dll

Declaration

public DockPanel AddPanel(
    Control content,
    DockingStyle dock,
    string caption = null
)

Parameters

Name Type Description
content Control

The panel content.

dock DockingStyle

Specifies the panel position.

Optional Parameters

Name Type Default Description
caption String

null

The panel caption.

Returns

Type Description
DockPanel

The newly created panel.

See Also