Skip to main content

kendoChat

Namespace: Wisej.Web.Ext.Kendo

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

The Chat allows the user to participate in chat sessions with other users or with chat bots.

public class kendoChat : kendoBase

Constructors​

Instance member kendoChat()​

Constructs a new instance of the kendoChat class.

Example:

The following example creates a chat and sets the local user through the Options property.

var chat = new kendoChat();
chat.Options.user = new { name = "Anna" };
chat.Dock = DockStyle.Fill;
this.Controls.Add(chat);

Instance member kendoChat(options)​

Constructs a new instance of the kendoChat class.

NameTypeDescription
optionsObjectInitial set of options.

Example:

The following example creates a chat with a named user, an avatar and a custom input placeholder.

var chat = new kendoChat(new
{
user = new { name = "Anna", iconUrl = "Images/anna.png" },
messages = new { placeholder = "Type a message..." }
});
chat.Dock = DockStyle.Fill;
this.Controls.Add(chat);

Implements​