Skip to main content

PdfSearchCompletedEventArgs Class

Definition​

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

Provides data for the Avalonia.Controls.PdfViewer.SearchCompleted event.

public class PdfSearchCompletedEventArgs

Inheritance: EventArgs -> PdfSearchCompletedEventArgs

Constructors​

NameDescription
PdfSearchCompletedEventArgsInitializes a new instance of the Avalonia.Controls.PdfSearchCompletedEventArgs class.

PdfSearchCompletedEventArgs Constructor​

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

public PdfSearchCompletedEventArgs(string query, int matchCount)

Parameters​

query string

matchCount int

Properties​

NameDescription
MatchCountGets the number of matches found.
QueryGets the query that was searched.

MatchCount Property​

Gets the number of matches found.

public int MatchCount { get; set; }

Query Property​

Gets the query that was searched.

public string Query { get; set; }