Skip to main content
.NET Framework 4.5.2+

AutoCorrectReplaceInfoCollection Class

A collection of AutoCorrectReplaceInfo objects.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v22.2.Core.dll

NuGet Package: DevExpress.RichEdit.Core


public class AutoCorrectReplaceInfoCollection


The AutoCorrectReplaceInfoCollection collection contains AutoCorrectReplaceInfo objects. Each object is composed of the key accessible by the AutoCorrectReplaceInfo.What property and the value accessible by the AutoCorrectReplaceInfo.With property. It specifies a string and its replacement - a string or a picture. A search for the key in the collection can be case-sensitive or not - use the AutoCorrectReplaceInfoCollection.CaseSensitive property to set the desired option.

Create a AutoCorrectReplaceInfo instance and add to the collection using the AutoCorrectReplaceInfoCollection.Add method to build a replacement table. When the replacement table is ready, use the IAutoCorrectService.SetReplaceTable method to specify an AutoCorrectReplaceInfoCollection for use in table-based autoreplacement.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AutoCorrectReplaceInfoCollection class.


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