TX Text Control .NET for WPF

SubTextParts Property

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

Description

Gets a collection of all subtextparts contained in the document. The property's value is an object of the type SubTextPartCollection.

Syntax

public SubTextPartCollection SubTextParts { get; }

Examples

The following example iterates through the sub text parts collection and processes each sub text part.

foreach (SubTextPart subTextPart in textControl.SubTextParts)
{
    subTextPart.Name = "CustomerName";
}

Limitations

Runtime only.

Read only.