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

Kendo UI messages TagHelper ChatMessagesSettingsTagHelper class.

Definition

Namespace:Kendo.Mvc.TagHelpers

Assembly:Kendo.Mvc.dll

Syntax:

C#
[HtmlTargetElement("messages", ParentTag = "kendo-chat", TagStructure = TagStructure.WithoutEndTag)]
[SuppressTagRendering]
public class ChatMessagesSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent

Inheritance: objectTagHelperTagHelperChildBaseChatMessagesSettingsTagHelper

Implements: ITagHelperITagHelperComponent

Inherited Members TagHelperChildBase.Init(TagHelperContext)TagHelperChildBase.AddSelfToContext(TagHelperContext)TagHelperChildBase.CreateHandler(string)TagHelperChildBase.IdPrefixTagHelper.Process(TagHelperContext, TagHelperOutput)TagHelper.Orderobject.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Example:

csharp
@addTagHelper *, Kendo.Mvc

<kendo-chat name="chat">
    <messages and=" and " />
</kendo-chat>

Constructors

Creates a ChatMessagesSettingsTagHelper instance.

C#
public ChatMessagesSettingsTagHelper()

Properties

The localization for the and message that is displayed when several people are typing in the Chat.

C#
[Obsolete("This option is obsolete since Q3 2025 and will be removed in future releases.")]
public string And { get; set; }

The localization for the are typing. message that is displayed when several people are typing in the Chat.

C#
[Obsolete("This option is obsolete since Q3 2025 and will be removed in future releases.")]
public string AreTyping { get; set; }

The text for the download all files button.

C#
public string DownloadAll { get; set; }

The title and aria-label for the file attachment button.

C#
public string FileButton { get; set; }

The title and aria-label for the button that opens the context menu for file attachments.

C#
public string FileMenuButton { get; set; }

The localization for the is typing. message that is displayed when someone is typing in the Chat.

C#
[Obsolete("This option is obsolete since Q3 2025 and will be removed in future releases.")]
public string IsTyping { get; set; }

The aria-label for the message list container.

C#
public string MessageListLabel { get; set; }

The text displayed when another user's message has been deleted.

C#
public string OtherMessageDeleted { get; set; }

The title and aria-label for the button that unpins a pinned message.

C#
public string PinnedMessageCloseButton { get; set; }

The placeholder text displayed in the message input field.

C#
public string Placeholder { get; set; }

The title and aria-label for the button that removes a reply reference when composing a message.

C#
public string ReplyMessageCloseButton { get; set; }

The text displayed when the user deletes their own message.

C#
public string SelfMessageDeleted { get; set; }

The title and aria-label for the send button.

C#
public string SendButton { get; set; }

The title and aria-label for the send button when in loading state.

C#
public string SendButtonLoading { get; set; }

The title and aria-label for the speech-to-text button.

C#
public string SpeechToTextButton { get; set; }

The title and the aria-label attribute of the toggle toolbar button.

C#
[Obsolete("This option is obsolete since Q3 2025 and will be removed in future releases.")]
public string ToggleButton { get; set; }

Methods

Adds the current instance to the parent TagHelper, if applicable.

C#
protected override void AddSelfToParent(TagHelperContext context)
Parameters:contextTagHelperContext

Overrides: TagHelperChildBase.AddSelfToParent(TagHelperContext)

C#
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Parameters:contextTagHelperContextoutputTagHelperOutputReturns:

Task

Overrides: TagHelperChildBase.ProcessAsync(TagHelperContext, TagHelperOutput)

Serializes the defined settings.

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

Dictionary<string, object>