ChatMessageSettings
Kendo UI ChatMessageSettings class
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public class ChatMessageSettings
Inheritance: objectChatMessageSettings
Inherited Members
Constructors
public ChatMessageSettings()
Properties
Whether long receiver messages can be collapsed.
public bool? AllowMessageCollapse { get; set; }
Whether context menu actions are enabled for receiver messages.
public bool? EnableContextMenuActions { get; set; }
Whether file actions are enabled for receiver messages.
public bool? EnableFileActions { get; set; }
Defines the collection of context menu actions rendered for receiver messages.
public List<ChatMessageSettingsMessageAction> MessageActions { get; set; }
A content template override for receiver messages. Receives the current message object.
public string MessageContentTemplateHandler { get; set; }
The template used to render receiver messages. Receives the same arguments as messageTemplate.
public string MessageTemplateHandler { get; set; }
Defines the collection of toolbar actions rendered for receiver messages.
public List<ChatMessageSettingsMessageToolbarAction> MessageToolbarActions { get; set; }
The width mode to apply to receiver messages. Supported values are "standard" and "full".
public ChatMessageWidth? MessageWidthMode { get; set; }
Whether to show the avatar for receiver messages.
public bool? ShowAvatar { get; set; }
Whether to show the username for receiver messages.
public bool? ShowUsername { get; set; }
Methods
Serialize current instance to Dictionary
Serialize current instance to Dictionary
protected virtual Dictionary<string, object> SerializeSettings()