Skip to main content

DocumentCancelEventHandler Delegate

The method that handles the BaseView.DocumentClosing event.

Namespace: DevExpress.XtraBars.Docking2010.Views

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public delegate void DocumentCancelEventHandler(
    object sender,
    DocumentCancelEventArgs e
);

Parameters

Name Type Description
sender Object

The event source. Identifies the BaseView descendant that raised the event.

e DocumentCancelEventArgs

A DocumentCancelEventArgs object that contains the event data.

Remarks

When you create a DocumentCancelEventHandler delegate, you need identify the method that will handle the corresponding event. To associate an event with your event handler, add a delegate instance to this event. The event handler is called whenever the event occurs unless you remove the delegate. For more information about event handler delegates, see Events and Delegates in MSDN.

See Also