RichTextBox.GetNextSpellingErrorPosition Metoda

Definicja

Zwraca wartość , TextPointer która wskazuje następny błąd pisowni w zawartości elementu RichTextBox.

public:
 System::Windows::Documents::TextPointer ^ GetNextSpellingErrorPosition(System::Windows::Documents::TextPointer ^ position, System::Windows::Documents::LogicalDirection direction);
public System.Windows.Documents.TextPointer GetNextSpellingErrorPosition (System.Windows.Documents.TextPointer position, System.Windows.Documents.LogicalDirection direction);
member this.GetNextSpellingErrorPosition : System.Windows.Documents.TextPointer * System.Windows.Documents.LogicalDirection -> System.Windows.Documents.TextPointer
Public Function GetNextSpellingErrorPosition (position As TextPointer, direction As LogicalDirection) As TextPointer

Parametry

position
TextPointer

Znak TextPointer wskazujący pozycję, z której należy wyszukać następny błąd pisowni.

direction
LogicalDirection

Element LogicalDirection , w którym należy wyszukać następny błąd pisowni, zaczynając od określonego position.

Zwraca

Element TextPointer wskazujący następny błąd pisowni w zawartości RichTextBoxobiektu lub null jeśli nie istnieje następny błąd pisowni.

Dotyczy

Zobacz też