DocumentLink Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.dll
Description
Gets an object that represents the clicked document link. It is of the type DocumentLink.
Syntax
public DocumentLink DocumentLink { get; }Public ReadOnly Property DocumentLink As DocumentLinkExamples
The following example uses DocumentLinkEventArgs.DocumentLink while handling DocumentLinkClicked.
textControl.DocumentLinkClicked += (_, e) =>
{
e.DocumentLink?.ScrollTo();
};AddHandler textControl.DocumentLinkClicked,
Sub(sender, e)
If e.DocumentLink IsNot Nothing Then e.DocumentLink.ScrollTo()
End SubLimitations
Read only.