Skip to main content

XtraTabbedMdiManager.Dock(Form, XtraTabbedMdiManager) Method

Moves a floating page from the specified XtraTabbedMdiManager to the current XtraTabbedMdiManager and docks the page.

Namespace: DevExpress.XtraTabbedMdi

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public bool Dock(
    Form floatForm,
    XtraTabbedMdiManager source
)

Parameters

Name Type Description
floatForm Form

A floating page (form) that belongs to the specified XtraTabbedMdiManager, and must be docked to the current XtraTabbedMdiManager.

source XtraTabbedMdiManager

A XtraTabbedMdiManager object that represents the old owner of the floating page.

Returns

Type Description
Boolean

A Boolean value indicating that the floating page has been successfully moved and docked in the current XtraTabbedMdiManager.

Remarks

This method is in effect for floating pages.

The Dock method unregisters the specified floating page (form) from its old XtraTabbedMdiManager and then docks the page to the current manager.

See Also