Back to Devexpress

DockControllerBase.AddDocumentPanel(Point, Size) Method

wpf-devexpress-dot-xpf-dot-docking-dot-dockcontrollerbase-dot-adddocumentpanel-x28-system-dot-windows-dot-point-system-dot-windows-dot-size-x29.md

latest2.3 KB
Original Source

DockControllerBase.AddDocumentPanel(Point, Size) Method

Adds an empty floating DocumentPanel.

Namespace : DevExpress.Xpf.Docking

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

NuGet Package : DevExpress.Wpf.Docking

Declaration

csharp
public DocumentPanel AddDocumentPanel(
    Point floatLocation,
    Size floatSize
)
vb
Public Function AddDocumentPanel(
    floatLocation As Point,
    floatSize As Size
) As DocumentPanel

Parameters

NameTypeDescription
floatLocationPoint

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

TypeDescription
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.

Implements

AddDocumentPanel(Point, Size)

See Also

DockControllerBase Class

DockControllerBase Members

DevExpress.Xpf.Docking Namespace