TextBox.GetNextSpellingErrorCharacterIndex Method (Int32, LogicalDirection)
Returns the beginning character index for the next spelling error in the contents of the text box.
Assembly: PresentationFramework (in PresentationFramework.dll)
public int GetNextSpellingErrorCharacterIndex( int charIndex, LogicalDirection direction )
The zero-based character index indicating a position from which to search for the next spelling error.
Return ValueType: System.Int32
The character index for the beginning of the next spelling error in the contents of the text box, or –1 if no next spelling error exists.
Available since 3.0