Skip to main content

AutoCorrectInfo.Text Property

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

Namespace: DevExpress.XtraRichEdit

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

#Declaration

public string Text { get; }

#Property Value

Type Description
String

A string that can be replaced.

#Remarks

Handle the RichEditControl.AutoCorrect event, and use the AutoCorrectEventArgs.AutoCorrectInfo property to get the AutoCorrectInfo object. 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