Class
HyperlinkClickedEventArgs

Provides data for the HyperlinkClicked event.

Definition

Namespace:Telerik.Windows.Documents.Model

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class HyperlinkClickedEventArgs : EventArgs

Inheritance: objectEventArgsHyperlinkClickedEventArgs

Inherited Members EventArgs.Empty

Constructors

HyperlinkClickedEventArgs(string, HyperlinkTargets, bool)

Initializes a new instance of the HyperlinkClickedEventArgs class.

Declaration

cs-api-definition
public HyperlinkClickedEventArgs(string url, HyperlinkTargets hyperlinkTarget, bool isTrustedUrl)

Parameters

url

string

hyperlinkTarget

HyperlinkTargets

isTrustedUrl

bool

Properties

Handled

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

Declaration

cs-api-definition
public bool Handled { get; set; }

Property Value

bool

HyperlinkTarget

Represents the target of the hyperlink that was clicked.

Declaration

cs-api-definition
public HyperlinkTargets HyperlinkTarget { get; }

Property Value

HyperlinkTargets

IsTrustedUrl

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.

Declaration

cs-api-definition
public bool IsTrustedUrl { get; set; }

Property Value

bool

URL

Gets the URL of the hyperlink.

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Naming", "CA1709:IdentifiersShouldBeCasedCorrectly", MessageId = "URL")]
public string URL { get; }

Property Value

string