Back to Devexpress

IDockController.AddDocumentPanel(Point, Size, Uri) Method

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

latest2.4 KB
Original Source

IDockController.AddDocumentPanel(Point, Size, Uri) Method

Adds a new floating DocumentPanel and loads the contents of a Window, Page or UserControl defined in the specified XAML into the 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,
    Uri uri
)
vb
Function AddDocumentPanel(
    floatLocation As Point,
    floatSize As Size,
    uri As Uri
) As DocumentPanel

Parameters

NameTypeDescription
floatLocationPoint

The left top corner position of the created DocumentPanel.

| | floatSize | Size |

The height and width of the created DocumentPanel.

| | uri | Uri |

The uniform resource identifier (URI) of the XAML that defines a Window, Page or UserControl to be loaded into the created DocumentPanel.

|

Returns

TypeDescription
DocumentPanel

The created DocumentPanel object.

|

Remarks

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

See Also

Uri

IDockController Interface

IDockController Members

DevExpress.Xpf.Docking Namespace