Skip to main content

DockController.DockAsDocument(BaseLayoutItem, BaseLayoutItem, DockType) Method

Docks the specified item as a tab into an existing or new DocumentGroup.

Namespace: DevExpress.Xpf.Docking

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

NuGet Package: DevExpress.Wpf.Docking

Declaration

public bool DockAsDocument(
    BaseLayoutItem item,
    BaseLayoutItem target,
    DockType type
)

Parameters

Name Type Description
item BaseLayoutItem

An item to be docked as a tab into a DocumentGroup.

target BaseLayoutItem

An item to which or next to which the first item is docked. This item can be a DocumentGroup or LayoutPanel object.

type DockType

Specifies the way the first item is docked to the second item.

Returns

Type Description
Boolean

true, if the operation is a success; otherwise, false.

See Also