Skip to main content

BaseView.Documents Property

Stores all documents displayed within the View.

Namespace: DevExpress.XtraBars.Docking2010.Views

Assembly: DevExpress.XtraBars.v22.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[Browsable(false)]
public BaseDocumentCollection Documents { get; }

Property Value

Type Description
DevExpress.XtraBars.Docking2010.Views.BaseDocumentCollection

A BaseDocumentCollection object that stores all documents displayed within the View.

Remarks

Do not modify the Documents collection to add and\or remove Documents to\from this View. Instead, use methods provided by the BaseView and BaseView.Controller objects. To add documents, use the BaseView.AddDocument or IBaseViewController.AddDocument method. To remove documents, use the BaseView.RemoveDocument or IBaseViewController.RemoveDocument method.

The IBaseViewController.Close, IBaseViewController.CloseAll and IBaseViewController.CloseAllButThis methods close documents by destroying them.

See the Documents article to learn more.

See Also