DockController.DockAsDocument(BaseLayoutItem, BaseLayoutItem, DockType) Method
In This Article
Docks the specified item as a tab into an existing or new DocumentGroup.
Namespace: DevExpress.Xpf.Docking
Assembly: DevExpress.Xpf.Docking.v24.2.dll
NuGet Package: DevExpress.Wpf.Docking
#Declaration
public bool DockAsDocument(
BaseLayoutItem item,
BaseLayoutItem target,
DockType type
)
#Parameters
Name | Type | Description |
---|---|---|
item | Base |
An item to be docked as a tab into a Document |
target | Base |
An item to which or next to which the first item is docked. This item can be a Document |
type | Dock |
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