Skip to main content

ChatTypingEventArgs

Namespace: Wisej.Web.Ext.Syncfusion2

Assembly: Wisej.Web.Ext.Syncfusion2 (4.1.0.0)

Describes a typing-state change reported by the Syncfusion chat composer.

public class ChatTypingEventArgs : ChatWidgetEventArgs

Constructors​

Instance member ChatTypingEventArgs(user, message, isTyping, data)​

Initializes a new instance of the ChatTypingEventArgs class.

NameTypeDescription
userChatUserThe user whose typing state changed.
messageStringThe text currently in the composer.
isTypingBooleantrue when the user started typing; false when the user stopped.
dataObjectThe raw event data received from the browser, or null.

The event name is always set to userTyping.

Example:

The following example, placed in a class derived from Chat, raises UserTyping to signal that the current user stopped typing.

this.OnUserTyping(new ChatTypingEventArgs(this.User, "", false, null));

Properties​

Instance member IsTyping​

Boolean: Gets whether the user is typing: true when typing started, false when it stopped.

Instance member Message​

String: Gets the text in the composer when the typing state changed.

Instance member User​

ChatUser: Gets the user whose typing state changed, as reported by the widget.