AutoCorrectEventArgs Class
Contains data for the AutoCorrect event.
#Declaration
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.
#Properties
#handled Property
Specifies whether the event is handled.
#Declaration
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
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
text: string
#Property Value
Type | Description |
---|---|
string | A string that can be replaced. |