Back to Devexpress

XtraTabbedMdiManager.Dock(Form, XtraTabbedMdiManager) Method

windowsforms-devexpress-dot-xtratabbedmdi-dot-xtratabbedmdimanager-dot-dock-x28-system-dot-windows-dot-forms-dot-form-devexpress-dot-xtratabbedmdi-dot-xtratabbedmdimanager-x29.md

latest2.6 KB
Original Source

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

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Parameters

NameTypeDescription
floatFormForm

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

TypeDescription
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

Floating Pages

XtraTabbedMdiManager Class

XtraTabbedMdiManager Members

DevExpress.XtraTabbedMdi Namespace