[Expand]General Information
[Collapse]WinForms Controls
  .NET Core Support
  Prerequisites
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications, and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Property Grid
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Gantt Control
  [Expand]Chart Control
  [Expand]Diagrams
  [Expand]Gauges
  [Expand]Map Control
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]Printing-Exporting
  [Collapse]PDF Viewer
    Deployment
    Getting Started
    Coordinate Systems
   [Collapse]Additional Content
     Bookmarks
     Hyperlinks
     Attachments
     Text Markup Annotations
    Printing
   [Expand]Interactive Forms
   [Expand]Manipulate Document Content
    Adjust the Document View
   [Expand]Visual Elements
   [Expand]Examples
   Reporting
  [Expand]Snap
  [Expand]TreeMap Control
  [Expand]Sunburst Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

Hyperlinks

A hyperlink is a reference to data that you can directly follow by clicking a document page. Hyperlinks can point to a page, an external document or to a URI (uniform resource identifier).

If a hyperlink addresses an external URI, the PDF Viewer shows Security Warning message box.

Expanded Custom Hyperlink Behavior

The following events allow you to control the hyperlink behavior:

Column A Column B
PdfViewer.UriOpening Occurs after clicking a hyperlink which addresses an external URI. Set the PdfUriOpeningEventArgs.Handled property to true to hide the message box. You can prevent URI opening without using the message box by setting the e.Cancel property to true.
PdfViewer.ReferencedDocumentOpening Raised after you click a link that reference an embedded or external document. You can obtain the document file path using the PdfReferencedDocumentOpeningEventArgs.DocumentFilePath property. The PdfReferencedDocumentOpeningEventArgs.OpenInNewWindow property indicates whether or not the referenced document was opened in an external application.

Is this topic helpful?​​​​​​​