TX Text Control .NET for Windows Forms

Count Property

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

Description

Gets the number of elements contained in the collection.

Syntax

public int Count { get; }

Examples

The following example works with misspelled words in the current document by using MisspelledWordCollection.Count.

MisspelledWordCollection misspelledWordCollection = textControl.MisspelledWords;

Console.WriteLine($"Count: {misspelledWordCollection.Count}");
Console.WriteLine("Misspelled Word Collection is ready for use.");

Limitations

Read only.