Back to Devexpress

IDockController.AddDocumentPanel(Point, Size) Method

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

latest2.0 KB
Original Source

IDockController.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
DocumentPanel AddDocumentPanel(
    Point floatLocation,
    Size floatSize
)
vb
Function AddDocumentPanel(
    floatLocation As Point,
    floatSize As Size
) As DocumentPanel

Parameters

NameTypeDescription
floatLocationPoint

The top left corner position of the created DocumentPanel.

| | floatSize | Size |

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.

See Also

AddDocumentPanel

IDockController Interface

IDockController Members

DevExpress.Xpf.Docking Namespace