CommentedText 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 commented text. It is of the type CommentedText.
Syntax
public CommentedText CommentedText { get; }Public ReadOnly Property CommentedText As CommentedTextExamples
The following example uses CommentEventArgs.CommentedText while handling CommentCreated.
textControl.CommentCreated += (_, e) =>
{
e.CommentedText?.ScrollTo();
};AddHandler textControl.CommentCreated,
Sub(sender, e)
If e.CommentedText IsNot Nothing Then e.CommentedText.ScrollTo()
End SubLimitations
Read only.