# TextControl.HypertextLinks Property

> Gets a collection of all hypertext links contained in the text part with the input focus. This can be the main text, a text frame or a header or footer. The property's value is an object of the type HypertextLinkCollection.

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

---

### Description

Gets a collection of all hypertext links contained in the text part with the input focus. This can be the main text, a text frame or a header or footer. The property's value is an object of the type [HypertextLinkCollection](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/hypertextlinkcollection/llms-full.txt).

### Syntax

```csharp
public HypertextLinkCollection HypertextLinks { get; }
```

```vbnet
Public ReadOnly Property HypertextLinks As HypertextLinkCollection
```

### Examples

The following example iterates through the hypertext links collection and processes each hypertext link.

```csharp
foreach (HypertextLink hypertextLink in textControl.HypertextLinks)
{
    hypertextLink.DescriptiveText = "Quarterly results";
}
```

```vbnet
For Each hypertextLink As HypertextLink In textControl.HypertextLinks
    hypertextLink.DescriptiveText = "Quarterly results"
Next
```

### Limitations

Runtime only.

Read only.

### See Also

Text Fields and Hypertext Links - Hypertext Links.

---

## Nearby

- **Previous:** [TextControl.HypertextLinkClicked Event](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/hypertextlinkclicked-event/llms-full.txt)
- **Next:** [TextControl.HyphenateWord Event](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/textcontrol/hyphenateword-event/llms-full.txt)
