Skip to main content

DockControllerBase.AddDocumentPanel(Point, Size) Method

Adds an empty floating DocumentPanel.

Namespace: DevExpress.Xpf.Docking

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

NuGet Package: DevExpress.Wpf.Docking

Declaration

public DocumentPanel AddDocumentPanel(
    Point floatLocation,
    Size floatSize
)

Parameters

Name Type Description
floatLocation Point

A Point object specifying the position of the left top corner of the created DocumentPanel.

floatSize Size

A Size object specifying the height and width of the created DocumentPanel.

Returns

Type Description
DocumentPanel

The created DocumentPanel object.

Remarks

This method creates an empty floating DocumentPanel, not included in any existing DocumentGroups. See the method overload list to learn about other ways to add panels.

See Also