BaseView.DocumentClosed Event

Fires after a document has been closed.

Namespace: DevExpress.XtraBars.Docking2010.Views

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

public event DocumentEventHandler DocumentClosed
Public Event DocumentClosed As DocumentEventHandler

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.

Remarks

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