Skip to main content
A newer version of this page is available. .

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.SpellChecker, DevExpress.Wpf.RichEdit, 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.

See Also