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

Defines the fluent API for configuring the ChatMessageSettings settings.

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class ChatMessageSettings : JsonObject

Inheritance: objectJsonObjectChatMessageSettings

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

Constructors

Initialization for the ChatMessageSettings

C#
public ChatMessageSettings()

Properties

Whether long receiver messages can be collapsed.

C#
public bool? AllowMessageCollapse { 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; }

The handler for the MessageContentTemplate

C#
public string MessageContentTemplateHandler { get; set; }

The handler for the 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#
protected override void Serialize(IDictionary<string, object> json)
Parameters:jsonIDictionary<string, object>

Overrides: JsonObject.Serialize(IDictionary<string, object>)