Back to Devexpress

BaseView.DocumentClosed Event

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-dot-baseview-9991a818.md

latest2.8 KB
Original Source

BaseView.DocumentClosed Event

Fires after a document has been closed.

Namespace : DevExpress.XtraBars.Docking2010.Views

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public event DocumentEventHandler DocumentClosed
vb
Public Event DocumentClosed As DocumentEventHandler

Event Data

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

PropertyDescription
DocumentPoints 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

Close(BaseDocument)

CloseAllButThis(BaseDocument)

DocumentClosing

IBaseDocumentDefaultProperties.AllowClose

IBaseDocumentProperties.AllowClose

ClosePageButtonShowMode

BaseView Class

BaseView Members

DevExpress.XtraBars.Docking2010.Views Namespace