Back to Devexpress

DocumentClosingEventHandler Delegate

wpf-devexpress-dot-xpf-dot-pdfviewer-7fd2c5bf.md

latest1.7 KB
Original Source

DocumentClosingEventHandler Delegate

Represents a method that will handle the PdfViewerControl.DocumentClosing> event.

Namespace : DevExpress.Xpf.PdfViewer

Assembly : DevExpress.Xpf.PdfViewer.v25.2.dll

NuGet Package : DevExpress.Wpf.PdfViewer

Declaration

csharp
public delegate void DocumentClosingEventHandler(
    DependencyObject d,
    DocumentClosingEventArgs e
);
vb
Public Delegate Sub DocumentClosingEventHandler(
    d As DependencyObject,
    e As DocumentClosingEventArgs
)

Parameters

NameTypeDescription
dDependencyObject

The event source.

| | e | DocumentClosingEventArgs |

A DocumentClosingEventArgs object that contains data related to the event.

|

Remarks

When creating a DocumentClosingEventHandler delegate, you 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

DevExpress.Xpf.PdfViewer Namespace