AutoCorrectEventArgs Class
Provides data for an event that occurs when text is typed in the control.
Declaration
export class AutoCorrectEventArgs extends EventArgs
Remarks
Use the OnAutoCorrect(String) property to assign a handler to the event.
Inheritance
EventArgs
AutoCorrectEventArgs
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. |