Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BaseView.DocumentClosed Event

Fires after a document has been closed.

Namespace: DevExpress.XtraBars.Docking2010.Views

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

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.

#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