Back to Devexpress

DockControllerBase.Dock(BaseLayoutItem) Method

wpf-devexpress-dot-xpf-dot-docking-dot-dockcontrollerbase-dot-dock-x28-devexpress-dot-xpf-dot-docking-dot-baselayoutitem-x29.md

latest1.9 KB
Original Source

DockControllerBase.Dock(BaseLayoutItem) Method

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Docking

Declaration

csharp
public bool Dock(
    BaseLayoutItem item
)
vb
Public Function Dock(
    item As BaseLayoutItem
) As Boolean

Parameters

NameTypeDescription
itemBaseLayoutItem

A BaseLayoutItem object to be docked.

|

Returns

TypeDescription
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 the specified item was docked at a certain position, and was then hidden or made floating, the Dock method restores the item at its previous dock position. Otherwise, the item is docked at the bottom of the DockLayoutManager container.

Implements

Dock(BaseLayoutItem)

See Also

DockControllerBase Class

DockControllerBase Members

DevExpress.Xpf.Docking Namespace