PdfViewer.UriOpening Event

Occurs after clicking a hyperlink addressing an external URI (universal resource identifier).

Namespace: DevExpress.XtraPdfViewer

Assembly: DevExpress.XtraPdfViewer.v20.1.dll


public event PdfUriOpeningEventHandler UriOpening
Public Event UriOpening As PdfUriOpeningEventHandler

Event Data

The UriOpening event's data class is PdfUriOpeningEventArgs. The following properties provide information specific to this event:

Property Description
Cancel Gets or sets a value indicating whether the event should be canceled. Inherited from CancelEventArgs.
Handled Gets or sets a value that specifies whether the PdfViewer.UriOpening event is handled; if handled, the Security Warning message box is hidden.
Uri Gets the opened document's URI (Uniform Resource Identifier).


The following image illustrates a security warning displayed in a PDF Viewer when clicking a hyperlink addressing an external URI.


See Also