RichTextBox.GetNextSpellingErrorPosition Method

Definition

Returns a TextPointer that points to the next spelling error in the contents of the RichTextBox.

C#
public System.Windows.Documents.TextPointer GetNextSpellingErrorPosition(System.Windows.Documents.TextPointer position, System.Windows.Documents.LogicalDirection direction);

Parameters

position
TextPointer

A TextPointer indicating a position from which to search for the next spelling error.

direction
LogicalDirection

A LogicalDirection in which to search for the next spelling error, starting at the specified position.

Returns

A TextPointer that points to the next spelling error in the contents of the RichTextBox, or null if no next spelling error exists.

Applies to

Produk Versi
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

See also