# HypertextLinkEventArgs.HypertextLink Property

> Gets an object that represents the clicked hypertext link. It is of the type HypertextLink.

- **Product:** TX Text Control .NET for WPF
- **Section:** Reference
- **Kind:** Property
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WPF.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Path:** TX Text Control .NET for WPF > Reference > TXTextControl > HypertextLinkEventArgs.HypertextLink Property
- **336 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/hypertextlinkeventargs/hypertextlink-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/hypertextlinkeventargs/hypertextlink-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/hypertextlinkeventargs/hypertextlink-property/llms-full.txt

---

### Description

Gets an object that represents the clicked hypertext link. It is of the type [HypertextLink](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/hypertextlink/llms-full.txt).

### Syntax

```csharp
public HypertextLink HypertextLink { get; }
```

```vbnet
Public ReadOnly Property HypertextLink As HypertextLink
```

### Examples

The following example uses `HypertextLinkEventArgs.HypertextLink` while handling `HypertextLinkClicked`.

```csharp
textControl.HypertextLinkClicked += (_, e) =>
{
    e.HypertextLink?.ScrollTo();
};
```

```vbnet
AddHandler textControl.HypertextLinkClicked,
    Sub(sender, e)
        If e.HypertextLink IsNot Nothing Then e.HypertextLink.ScrollTo()
    End Sub
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [HypertextLinkEventArgs Class](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/hypertextlinkeventargs/llms-full.txt)
- **Next:** [HyphenateWordEventArgs Class](https://docs.textcontrol.com/tx-text-control-dotnet-wpf/reference/txtextcontrol/hyphenatewordeventargs/llms-full.txt)
