ChatCancelableEventArgs
Namespace: Wisej.Web.Ext.Syncfusion2
Assembly: Wisej.Web.Ext.Syncfusion2 (4.1.0.0)
Base event data for chat events that support canceling the underlying client action.
- C#
- VB.NET
public class ChatCancelableEventArgs : ChatWidgetEventArgs
Public Class ChatCancelableEventArgs
Inherits ChatWidgetEventArgs
Constructors
ChatCancelableEventArgs(cancel, name, data)
Initializes a new instance of the ChatCancelableEventArgs class.
| Name | Type | Description |
|---|---|---|
| cancel | Boolean | The initial value of Cancel, as reported by the browser. |
| name | String | The name of the client event. |
| data | Object | The raw event data received from the browser, or null. |
Example:
The following example creates the event data for a client event that was not canceled in the browser.
var args = new Chat.ChatCancelableEventArgs(false, "suggestionClick", null);
args.Cancel = true;
Properties
Cancel
Boolean: Gets or sets whether server-side follow-up work should be skipped for this event.
Wisej widget events are delivered asynchronously after the browser event is raised. Use this property to stop wrapper-side state updates, but do not rely on it to synchronously prevent Syncfusion's already-started client action unless the specific event is documented otherwise.