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

Declaration

public static void RegisterTextControl(
    Type controlType
)
Public Shared Sub RegisterTextControl(
    controlType As Type
)

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