Back to Devexpress

BaseView.AddFloatingDocumentsHost(BaseDocument) Method

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-baseview-dot-addfloatingdocumentshost-x28-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-basedocument-x29.md

latest2.5 KB
Original Source

BaseView.AddFloatingDocumentsHost(BaseDocument) Method

Creates a documents host window that contains the specified document. This method is in effect in the DocumentsHost mode.

Namespace : DevExpress.XtraBars.Docking2010.Views

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public bool AddFloatingDocumentsHost(
    BaseDocument document
)
vb
Public Function AddFloatingDocumentsHost(
    document As BaseDocument
) As Boolean

Parameters

NameTypeDescription
documentBaseDocument

A BaseDocument that should be contained in the created documents host window.

|

Returns

TypeDescription
Boolean

true if a documents host window is successfully created; otherwise, false.

|

Remarks

This method is in effect if the BaseView.FloatingDocumentContainer property is set to DocumentsHost.

The AddFloatingDocumentsHost method places the specified BaseDocument object in a newly created documents host window, to which other documents can be docked.

See Also

FloatingDocumentContainer

RegisterDocumentsHostWindow

CustomDocumentsHostWindow

BaseView Class

BaseView Members

DevExpress.XtraBars.Docking2010.Views Namespace