Back to Devexpress

DocumentCancelEventHandler Delegate

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-views-6d1d7db0.md

latest2.0 KB
Original Source

DocumentCancelEventHandler Delegate

The method that handles the BaseView.DocumentClosing event.

Namespace : DevExpress.XtraBars.Docking2010.Views

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public delegate void DocumentCancelEventHandler(
    object sender,
    DocumentCancelEventArgs e
);
vb
Public Delegate Sub DocumentCancelEventHandler(
    sender As Object,
    e As DocumentCancelEventArgs
)

Parameters

NameTypeDescription
senderObject

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

DocumentClosing

DevExpress.XtraBars.Docking2010.Views Namespace