Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.Win.Navigation

#Declaration

public bool AddFloatingDocumentsHost(
    BaseDocument document
)

#Parameters

Name Type Description
document BaseDocument

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

#Returns

Type Description
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