New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Kendo UI ChatMessageSettings class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class ChatMessageSettings

Inheritance: objectChatMessageSettings

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public ChatMessageSettings()

Properties

Whether long receiver messages can be collapsed.

C#
public bool? AllowMessageCollapse { get; set; }

Chat member.

C#
public Chat Chat { get; set; }

Whether context menu actions are enabled for receiver messages.

C#
public bool? EnableContextMenuActions { get; set; }

Whether file actions are enabled for receiver messages.

C#
public bool? EnableFileActions { get; set; }

Defines the collection of context menu actions rendered for receiver messages.

C#
public List<ChatMessageSettingsMessageAction> MessageActions { get; set; }

A content template override for receiver messages. Receives the current message object.

C#
public string MessageContentTemplateHandler { get; set; }

The template used to render receiver messages. Receives the same arguments as messageTemplate.

C#
public string MessageTemplateHandler { get; set; }

Defines the collection of toolbar actions rendered for receiver messages.

C#
public List<ChatMessageSettingsMessageToolbarAction> MessageToolbarActions { get; set; }

The width mode to apply to receiver messages. Supported values are "standard" and "full".

C#
public ChatMessageWidth? MessageWidthMode { get; set; }

Whether to show the avatar for receiver messages.

C#
public bool? ShowAvatar { get; set; }

Whether to show the username for receiver messages.

C#
public bool? ShowUsername { get; set; }

Methods

Serialize current instance to Dictionary

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

Serialize current instance to Dictionary

C#
protected virtual Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>