Skip to main content
.NET Framework Class Library
SpellingError Class

Represents a misspelled word in an editing control (i.e. TextBox or RichTextBox).

Inheritance Hierarchy
SystemObject
  System.Windows.ControlsSpellingError

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)
Syntax
Public Class SpellingError
public class SpellingError
public ref class SpellingError
type SpellingError =  class end
public class SpellingError

The SpellingError type exposes the following members.

Properties
  NameDescription
Public property SuggestionsGets a list of suggested spelling replacements for the misspelled word.
Top
Methods
  NameDescription
Public method CorrectReplaces the spelling error text with the specified correction.
Public method Equals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCodeServes as the default hash function. (Inherited from Object.)
Public method GetTypeGets the Type of the current instance. (Inherited from Object.)
Public method IgnoreAllInstructs the control to ignore this error and any duplicates for the remainder of the lifetime of the control.
Protected method MemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public method ToStringReturns a string that represents the current object. (Inherited from Object.)
Top
Version Information

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.