.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

AutoCorrectReplaceInfoCollection Class

A collection of AutoCorrectReplaceInfo objects.

Namespace: DevExpress.XtraRichEdit

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


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.


See Also