Skip to main content

PdfOpenRequestedEventArgs Class

Definition

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

Arguments for Avalonia.Controls.PdfViewer.OpenRequested. Set Avalonia.Controls.PdfOpenRequestedEventArgs.Handled to open the document in the application (for example with your own file picker) instead of the viewer's built-in one.

public class PdfOpenRequestedEventArgs

Inheritance: EventArgs -> PdfOpenRequestedEventArgs

Properties

NameDescription
HandledSet to true to skip the built-in file picker.

Handled Property

Set to true to skip the built-in file picker.

public bool Handled { get; set; }