IAutoCorrectService Interface
Defines a service that performs auto correction.
Namespace: DevExpress.XtraRichEdit.Services
Assembly: DevExpress.RichEdit.v14.2.Core.dll
#Declaration
#Remarks
The IAutoCorrectService service calls the IAutoCorrectProvider.CalculateAutoCorrectInfo methods of registered providers in a predefined order to obtain an AutoCorrectInfo object. Then, this object is used to perform a replacement.
You can easily add your own table-based autocorrect functionality.
For this, use the GetService method of a control to obtain the IAutoCorrectService. Then, create an AutoCorrectReplaceInfoCollection instance, fill it with pairs from your custom autocorrect table and use the IAutoCorrectService.SetReplaceTable method to register your table for use by the service.