Skip to main content
A newer version of this page is available. .

DockControllerBase.AddDocumentPanel(DocumentGroup) Method

Adds a new DocumentPanel to the specified DocumentGroup.

Namespace: DevExpress.Xpf.Docking

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

NuGet Package: DevExpress.Wpf.Docking

Declaration

public DocumentPanel AddDocumentPanel(
    DocumentGroup group
)

Parameters

Name Type Description
group DocumentGroup

A DocumentGroup object to which a new panel is added.

Returns

Type Description
DocumentPanel

The created DocumentPanel object.

Remarks

This method creates a DocumentPanel and adds it to the Items (LayoutGroup.Items) collection of the specified DocumentGroup object.

See Also