Count Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets the number of elements contained in the collection.
Syntax
public int Count { get; }Public ReadOnly Property Count As IntegerExamples
The following example works with text parts in the current document by using TextPartCollection.Count.
TextPartCollection textPartCollection = textControl.TextParts;
Console.WriteLine($"Count: {textPartCollection.Count}");
Console.WriteLine("Text Part Collection is ready for use.");Dim textPartCollection As TextPartCollection = textControl.TextParts
Console.WriteLine($"Count: {textPartCollection.Count}")
Console.WriteLine("Text Part Collection is ready for use.")Limitations
Read only.