Skip to main content
All docs
V21.2

DocumentClosingEventHandler Delegate

A method that will handle the SnapControl.DocumentClosing event.

Namespace: DevExpress.Snap

Assembly: DevExpress.Snap.v21.2.Core.dll

NuGet Package: DevExpress.Snap.Core

Declaration

public delegate void DocumentClosingEventHandler(
    object sender,
    DocumentClosingEventArgs e
);

Parameters

Name Type Description
sender Object

A Object value, specifying the event source.

e DocumentClosingEventArgs

A DocumentClosingEventArgs object, containing data related to the event.

Remarks

When creating a DocumentClosingEventHandler delegate, identify a method that will handle corresponding events.

To associate an event with an event handler, add a delegate instance to the event.

The event handler is called whenever the event occurs, unless the delegate is removed.

To learn more, see the Events and Delegates topic in MSDN.

See Also