DockControllerBase.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.v24.2.dll
NuGet Package: DevExpress.Wpf.Docking
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
float |
Point | A Point object specifying a position of the left top corner of the created Document |
float |
Size | A Size object specifying the height and width of the created Document |
uri | Uri | A Uri object specifying the uniform resource identifier (URI) of the XAML that defines a Window, Page or User |
#Returns
Type | Description |
---|---|
Document |
The created Document |
#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.