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.v23.2.dll

NuGet Package: DevExpress.Wpf.SpellChecker

Declaration

public static void RegisterTextControl(
    Type controlType
)

Parameters

Name Type Description
controlType Type

The type of the control being registered.

Remarks

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

Note

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

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RegisterTextControl(Type) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also