Skip to main content

BaseView.DocumentClosed Event

Fires after a document has been closed.

Namespace: DevExpress.XtraBars.Docking2010.Views

Assembly: DevExpress.XtraBars.v22.2.dll

NuGet Package: DevExpress.Win.Navigation


public event DocumentEventHandler DocumentClosed

Event Data

The DocumentClosed event's data class is DocumentEventArgs. The following properties provide information specific to this event:

Property Description
Document Points to the document related to the current event.


When a document is closed, it is destroyed.

A document can be closed by calling the IBaseViewController.Close method, accessible via the BaseView.Controller object. An end-user can close a document by clicking the close (‘x’) button. To prevent a document from being closed or perform additional actions when a document is being closed, handle the BaseView.DocumentClosing event.

See Also