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

Declaration

public bool Dock(
    Form floatForm,
    XtraTabbedMdiManager source
)
Public Function Dock(
    floatForm As Form,
    source As XtraTabbedMdiManager
) As Boolean

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