IBaseViewController.AddDocument(BaseDocument) Method

Adds the specified document to a View.

Namespace: DevExpress.XtraBars.Docking2010.Views

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

bool AddDocument(
    BaseDocument document
)
Function AddDocument(
    document As BaseDocument
) As Boolean

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