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

Provides data for events handling users clicking on hyperlinks.

Definition

Namespace:Telerik.WinControls.Hyperlinks

Assembly:Telerik.WinControls.dll

Syntax:

C#
public class HyperlinkClickedEventArgs : EventArgs

Inheritance: objectEventArgsHyperlinkClickedEventArgs

Derived Classes: SpreadsheetHyperlinkClickedEventArgsHyperlinkClickedEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes a new instance of the HyperlinkClickedEventArgs class.

C#
public HyperlinkClickedEventArgs(string url, bool isTrustedUrl)
Parameters:urlstring

The URL of the hyperlink.

isTrustedUrlbool

Is the URL considered trusted.

Properties

Get or set a value indicating whether the event is handled.

C#
public bool Handled { get; set; }

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; }

The URL of the hyperlink.

C#
public string URL { get; }