Skip to main content

IBaseViewController.AddDocument(BaseDocument) Method

Adds the specified document to a View.

Namespace: DevExpress.XtraBars.Docking2010.Views

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

bool AddDocument(
    BaseDocument document
)

Parameters

Name Type Description
document BaseDocument

A BaseDocument to be added to the View.

Returns

Type Description
Boolean

true if the document has been added to the View; otherwise, false.

Remarks

When a document is added to a View, the BaseView.DocumentAdded event fires.

See Also