TXTextControl.SubTextPartCollection.Item Property

Gets the subtextpart with the specified number from the collection. The number must be between 1 and Count. In C# this property is the indexer for the SubTextPartCollection class.

Syntax

[C#]
public SubTextPart this [int number] { get; }
[Visual Basic]
Public Default ReadOnly Property Item(ByVal number As Integer) As SubTextPart
Parameter Description
number

Specifies a subtextpart number. The first subtextpart has the number 1.

Return Value

The return value is null, if the subtextpart could not be found. Otherwise, it is an object of the type SubTextPart.

See Also