Skip to main content
All docs
V25.1
  • IDockController.AddDocumentPanel(Point, Size) Method

    Adds an empty floating DocumentPanel.

    Namespace: DevExpress.Xpf.Docking

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

    NuGet Package: DevExpress.Wpf.Docking

    Declaration

    DocumentPanel AddDocumentPanel(
        Point floatLocation,
        Size floatSize
    )

    Parameters

    Name Type Description
    floatLocation Point

    The top left corner position of the created DocumentPanel.

    floatSize Size

    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