Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

AutoCorrectInfo.Text Property

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

Namespace: DevExpress.XtraRichEdit

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

NuGet Package: DevExpress.RichEdit.Core

#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.

See Also