New to Telerik UI for .NET MAUI? Start a free 30-day trial

Represents the event arguments for the HyperlinkOpening event.

Definition

Namespace:Telerik.Maui.Controls.RichTextEditor

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class HyperlinkOpeningEventArgs : EventArgs

Inheritance: objectEventArgsHyperlinkOpeningEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes a new instance of the HyperlinkOpeningEventArgs class.

C#
public HyperlinkOpeningEventArgs(string url)
Parameters:urlstring

Specifies the string representing the URL of the hyperlink.

Properties

Gets or sets a value indicating whether the event is handled. When set to true, the RadRichTextEditor does not open the hyperlink.

C#
public bool Handled { get; set; }

Gets or sets a value indicating whether the URL of the hyperlink is trusted. It is initially true when the scheme of the URL is http, https, mailto or tel, and false otherwise. When Handled is false, the RadRichTextEditor launches the URL only if this property is true. Set it to true only for URLs you have validated, because the hyperlinks come from the document content.

C#
public bool IsUrlTrusted { get; set; }

Gets the string representing the URL of the hyperlink.

C#
public string Url { get; }