CancelEventArgs Class
In This Article
Provides data for cancelable client events.
#Declaration
TypeScript
class CancelEventArgs extends EventArgs
#Inheritance
#Properties
#cancel Property
Indicates whether the action that raised the event should be canceled.
#Declaration
TypeScript
cancel: boolean
#Property Value
Type | Description |
---|---|
boolean | true, if the action that raised the event should be canceled; otherwise, false. |
#Remarks
Use the cancel property to cancel the action that is about to be performed. Set this property to true to cancel the action that raised the event.