Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

IRichEditDocumentServer.DocumentClosing Event

Occurs when a document that has not yet been saved is about to be closed.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v19.1.Core.dll

Declaration

event CancelEventHandler DocumentClosing

Event Data

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

Property Description
Cancel Gets or sets a value indicating whether the event should be canceled.

Remarks

Handle the DocumentClosing event to specify the actions to perform before the document is closed. To cancel closing, set the e.Cancel value to true.

See Also