Skip to main content

SpellingSettings.RegisterTextControl(Type) Method

Enables spell checking for the descendants of the standard controls (TextBox, RichTextBox) and TextEdit.

Namespace: DevExpress.Xpf.SpellChecker

Assembly: DevExpress.Xpf.SpellChecker.v21.2.dll


public static void RegisterTextControl(
    Type controlType


Name Type Description
controlType Type

The type of the control being registered.


Call the RegisterTextControl method to enable spell checking for custom control types which inherit standard controls (TextBox, RichTextBox) and TextEdit.


If the type of the control passed to the RegisterTextControl method cannot be registered, an exception occurs.

See Also