SubTextPart Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets an object that represents the subtextpart which causes the event. It is of the type SubTextPart.
Syntax
public SubTextPart SubTextPart { get; }Public ReadOnly Property SubTextPart As SubTextPartExamples
The following example uses SubTextPartEventArgs.SubTextPart while handling SubTextPartCreated.
textControl.SubTextPartCreated += (_, e) =>
{
e.SubTextPart?.ScrollTo();
};AddHandler textControl.SubTextPartCreated,
Sub(sender, e)
If e.SubTextPart IsNot Nothing Then e.SubTextPart.ScrollTo()
End SubLimitations
Read only.