Item Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets a misspelled word from the collection. In C# this property is the indexer for the MisspelledWordCollection class.
Syntax
public MisspelledWord this[int number] { get; }Default Public ReadOnly Property Item(number As Integer) As MisspelledWordExamples
The following example works with misspelled words in the current document by using MisspelledWordCollection.Item.
MisspelledWordCollection misspelledWordCollection = textControl.MisspelledWords;
Console.WriteLine($"Item: {misspelledWordCollection[10]}");
Console.WriteLine("Misspelled Word Collection is ready for use.");Dim misspelledWordCollection As MisspelledWordCollection = textControl.MisspelledWords
Console.WriteLine($"Item: {misspelledWordCollection.Item(10)}")
Console.WriteLine("Misspelled Word Collection is ready for use.")Limitations
Read only.