New to Telerik UI for WPFStart a free 30-day trial

Provides data for the HyperlinkClicked event.

Definition

Namespace:Telerik.Windows.Documents.Model

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

C#
public class HyperlinkClickedEventArgs : EventArgs

Inheritance: objectEventArgsHyperlinkClickedEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes a new instance of the HyperlinkClickedEventArgs class.

C#
public HyperlinkClickedEventArgs(string url, HyperlinkTargets hyperlinkTarget, bool isTrustedUrl)
Parameters:urlstringhyperlinkTargetHyperlinkTargetsisTrustedUrlbool

Properties

Gets or sets a value indicating whether the event is handled.

C#
public bool Handled { get; set; }

Represents the target of the hyperlink that was clicked.

C#
public HyperlinkTargets HyperlinkTarget { get; }

Gets a value tha indicates if the URL passes our validation. If the URL is not trusted, the hyperlink will not be opened. Set this property to true to open the hyperlink.

C#
public bool IsTrustedUrl { get; set; }

Gets the URL of the hyperlink.

C#
public string URL { get; }