Skip to main content
A newer version of this page is available.

DocumentClosingEventHandler Delegate

A method that will handle the SnapControl.DocumentClosing event.

Namespace: DevExpress.Snap

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

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