Back to Devexpress

DockControllerBase.AddPanel(Point, Size) Method

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

latest1.9 KB
Original Source

DockControllerBase.AddPanel(Point, Size) Method

Creates a floating panel with the specified size and displays it at the specified location.

Namespace : DevExpress.Xpf.Docking

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

NuGet Package : DevExpress.Wpf.Docking

Declaration

csharp
public LayoutPanel AddPanel(
    Point floatLocation,
    Size floatSize
)
vb
Public Function AddPanel(
    floatLocation As Point,
    floatSize As Size
) As LayoutPanel

Parameters

NameTypeDescription
floatLocationPoint

A Point structure that specifies the position at which the panel is displayed. The position is relative to the top left corner of the DockLayoutManager container (root group).

| | floatSize | Size |

A Size structure that specifies the created panel’s size.

|

Returns

TypeDescription
LayoutPanel

The created LayoutPanel object.

|

Implements

AddPanel(Point, Size)

See Also

DockControllerBase Class

DockControllerBase Members

DevExpress.Xpf.Docking Namespace