IDockController.Dock(BaseLayoutItem) Method
In This Article
Docks the specified item. This method is in effect for newly created, floating, auto-hidden, or closed (hidden) items.
Namespace: DevExpress.Xpf.Docking
Assembly: DevExpress.Xpf.Docking.v24.2.dll
NuGet Package: DevExpress.Wpf.Docking
#Declaration
bool Dock(
BaseLayoutItem item
)
#Parameters
Name | Type | Description |
---|---|---|
item | Base |
A Base |
#Returns
Type | Description |
---|---|
Boolean | true, if the item has been successfully docked; otherwise, false. |
#Remarks
The Dock method is not in effect if the specified item is currently docked. If an item was docked, and then hidden or made floating, the Dock method restores the item to its previous dock position.
See Also