Correct Method
Collapse the table of content
Expand the table of content

SpellingError.Correct Method (String)


Replaces the spelling error text with the specified correction.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public void Correct(
	string correctedText


Type: System.String

The text used to replace the misspelled text.

This method repositions the caret to the position immediately following the corrected text.

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft