Kendo UI ChatPinnedMessage TagHelper
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
C#
[HtmlTargetElement("pinned-message", ParentTag = "pinned-messages", TagStructure = TagStructure.NormalOrSelfClosing)]
[SuppressTagRendering]
public class ChatPinnedMessageTagHelper : TagHelperCollectionItemBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseTagHelperCollectionItemBaseChatPinnedMessageTagHelper
Implements:
Inherited Members
Constructors
Initializes a new instance of the ChatPinnedMessageTagHelper class.
C#
public ChatPinnedMessageTagHelper()
Properties
The alternative text that will be displayed if no image is present.
C#
public string AuthorImageAltText { get; set; }
The author's image.
C#
public string AuthorImageUrl { get; set; }
The author's name.
C#
public string AuthorName { get; set; }
The initial files that will be set to the chat message.
C#
public IEnumerable<ChatFile> Files { get; set; }
Checks Whether this message belongs to the current user.
C#
public bool? IsOwnMessage { get; set; }
Methods
Adds the current instance to the parent TagHelper, if applicable.
C#
protected override void AddSelfToParent(TagHelperContext context)
Overrides:
C#
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Overrides:
Serializes the defined settings.