Skip to main content
A newer version of this page is available. .

DockControllerBase.AddDocumentPanel(Point, Size) Method

Adds an empty floating DocumentPanel.

Namespace: DevExpress.Xpf.Docking

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

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