Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DockControllerBase.AddPanel(Point, Size) Method

Creates a floating panel with the specified size and displays it at the specified location.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v24.2.dll

NuGet Package: DevExpress.Wpf.Docking

#Declaration

public LayoutPanel AddPanel(
    Point floatLocation,
    Size floatSize
)

#Parameters

Name Type Description
floatLocation Point

A Point structure that specifies the position at which the panel is displayed. The position is relative to the top left corner of the DockLayoutManager container (root group).

floatSize Size

A Size structure that specifies the created panel’s size.

#Returns

Type Description
LayoutPanel

The created LayoutPanel object.

See Also