Back to Devexpress

IBaseViewController.AddDocument(BaseDocument) Method

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-ibaseviewcontroller-dot-adddocument-x28-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-basedocument-x29.md

latest1.8 KB
Original Source

IBaseViewController.AddDocument(BaseDocument) Method

Adds the specified document to a View.

Namespace : DevExpress.XtraBars.Docking2010.Views

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Parameters

NameTypeDescription
documentBaseDocument

A BaseDocument to be added to the View.

|

Returns

TypeDescription
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

IBaseViewController Interface

IBaseViewController Members

DevExpress.XtraBars.Docking2010.Views Namespace