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.
- C#
- VB.NET
public class kendoChat : kendoBase
Public Class kendoChat
Inherits kendoBase
Constructors
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);
kendoChat(options)
Constructs a new instance of the kendoChat class.
| Name | Type | Description |
|---|---|---|
| options | Object | Initial 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);