.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
A newer version of this page is available. Switch to the current version.

AutoCorrectInfo.Text Property

Gets the input string to check whether it should be replaced.

Namespace: DevExpress.XtraRichEdit

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

Declaration

public string Text { get; }

Property Value

Type Description
String

A string that can be replaced.

Remarks

Handle the AutoCorrect event of the RichEditControl, and use the AutoCorrectEventArgs.AutoCorrectInfo property to get the AutoCorrectInfoobject. It enables you to analyze the string obtained by the Text property. Use methods such as AutoCorrectInfo.DecrementStartPosition to extend or move the range being analyzed. To specify a replacement object, assign it to the AutoCorrectInfo.ReplaceWith property.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Text property.

Note

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