Back to Devexpress

AutoCorrectInfo.Text Property

officefileapi-devexpress-dot-xtrarichedit-dot-autocorrectinfo.md

latest2.0 KB
Original Source

AutoCorrectInfo.Text Property

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

Namespace : DevExpress.XtraRichEdit

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

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
public string Text { get; }
vb
Public ReadOnly Property Text As String

Property Value

TypeDescription
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

RichEditControl.AutoCorrect

RichEditControlOptionsBase.AutoCorrect

AutoCorrect Feature

AutoCorrectInfo Class

AutoCorrectInfo Members

DevExpress.XtraRichEdit Namespace