Back to Devexpress

AutoCorrectReplaceInfo.What Property

officefileapi-devexpress-dot-xtrarichedit-dot-autocorrectreplaceinfo.md

latest1.9 KB
Original Source

AutoCorrectReplaceInfo.What Property

Gets the text to be replaced.

Namespace : DevExpress.XtraRichEdit

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

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
public string What { get; set; }
vb
Public Property What As String

Property Value

TypeDescription
String

A string containing the text that should be replaced as this AutoCorrect entry suggests.

|

Remarks

As you type a word that matches the What value, it is replaced with the AutoCorrectReplaceInfo.With value.

Get the IAutoCorrectService, and use the IAutoCorrectService.SetReplaceTable to specify autocorrect entries.

See Also

SetReplaceTable(AutoCorrectReplaceInfoCollection)

ReplaceTextAsYouType

AutoCorrectReplaceInfo Class

AutoCorrectReplaceInfo Members

DevExpress.XtraRichEdit Namespace