Skip to main content

PdfLinkClickedEventArgs Class

Definition

Assembly:Avalonia.Controls.PdfViewer
Package:Avalonia.Controls.PdfViewer

Event arguments for link clicked event.

public class PdfLinkClickedEventArgs

Inheritance: EventArgs -> PdfLinkClickedEventArgs

Constructors

NameDescription
PdfLinkClickedEventArgsInitializes a new instance of the Avalonia.Controls.PdfLinkClickedEventArgs class.

PdfLinkClickedEventArgs Constructor

Initializes a new instance of the Avalonia.Controls.PdfLinkClickedEventArgs class.

public PdfLinkClickedEventArgs(Avalonia.Controls.Pdf.Core.PdfLinkDestination destination)

Parameters

destination Avalonia.Controls.Pdf.Core.PdfLinkDestination

The destination the clicked link points to.

Properties

NameDescription
DestinationGets the destination the clicked link points to (a page target or a URI).
HandledGets or sets a value indicating whether the click has been handled. Set to to suppress the viewer's default navigation behavior.

Destination Property

Gets the destination the clicked link points to (a page target or a URI).

public Avalonia.Controls.Pdf.Core.PdfLinkDestination Destination { get; set; }

Handled Property

Gets or sets a value indicating whether the click has been handled. Set to to suppress the viewer's default navigation behavior.

public bool Handled { get; set; }