HypertextLink Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets an object that represents the clicked hypertext link. It is of the type HypertextLink.
Syntax
public HypertextLink HypertextLink { get; }Public ReadOnly Property HypertextLink As HypertextLinkExamples
The following example uses HypertextLinkEventArgs.HypertextLink while handling HypertextLinkClicked.
textControl.HypertextLinkClicked += (_, e) =>
{
e.HypertextLink?.ScrollTo();
};AddHandler textControl.HypertextLinkClicked,
Sub(sender, e)
If e.HypertextLink IsNot Nothing Then e.HypertextLink.ScrollTo()
End SubLimitations
Read only.