Skip to main content
A newer version of this page is available. .
All docs
V21.2

DockManager.AddPanel(Control, Point, String) Method

Creates a new floating panel with the target content.

Namespace: DevExpress.XtraBars.Docking

Assembly: DevExpress.XtraBars.v21.2.dll

NuGet Packages: DevExpress.Win.Design, DevExpress.Win.Navigation

Declaration

public DockPanel AddPanel(
    Control content,
    Point floatLocation,
    string caption = null
)

Parameters

Name Type Description
content Control

The panel content.

floatLocation Point

The panel float location.

Optional Parameters

Name Type Default Description
caption String null

The panel caption.

Returns

Type Description
DockPanel

The newly created panel.

See Also