TX Text Control .NET for WPF

SubTextPart Property

Property|Introduced in 23.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WPF.SDK as TXTextControl.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets an object that represents the subtextpart which causes the event. It is of the type SubTextPart.

Syntax

public SubTextPart SubTextPart { get; }

Examples

The following example uses SubTextPartEventArgs.SubTextPart while handling SubTextPartCreated.

textControl.SubTextPartCreated += (_, e) =>
{
    e.SubTextPart?.ScrollTo();
};

Limitations

Read only.