SpellingError.Correct Method (String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Replaces the spelling error text with the specified correction.

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

public void Correct(
	string correctedText
)

Parameters

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
Show: