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

AutoCorrectEventArgs Class

Contains data for the AutoCorrect event.

#Declaration

TypeScript
export class AutoCorrectEventArgs extends EventArgs

#Remarks

The AutoCorrect event occurs when text is typed in the control. The event handler receives an argument of the AutoCorrectEventArgs type. The argument’s properties provide information specific to this event.

#Inheritance

EventArgs
AutoCorrectEventArgs

#Properties

#handled Property

Specifies whether the event is handled.

#Declaration

TypeScript
handled: boolean

#Property Value

Type Description
boolean

true, if the event is handled and further processing is not required; otherwise false.

#Remarks

Set the handled to true when the event processing is finished for the current input string.

#interval Property

Gets the input string’s interval.

#Declaration

TypeScript
interval: Interval

#Property Value

Type Description
Interval

The input string’s interval.

#Remarks

Use the interval property to select the input string and replace it.

#text Property

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

#Declaration

TypeScript
text: string

#Property Value

Type Description
string

A string that can be replaced.