Kendo UI ChatMessageSettingsMessageAction TagHelper
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("message-action", ParentTag = "message-actions", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("icon", new string[] { })]
[SuppressTagRendering]
public class ChatMessageSettingsMessageActionTagHelper : TagHelperCollectionItemBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseTagHelperCollectionItemBaseChatMessageSettingsMessageActionTagHelper
Implements:
Inherited Members
Child Tags
Constructors
Initializes a new instance of the ChatMessageSettingsMessageActionTagHelper class.
public ChatMessageSettingsMessageActionTagHelper()
Properties
Defines the icon class for the context menu action.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.
[HtmlAttributeName("icon")]
public string Icon { get; set; }
Defines the name identifier for the context menu action.
public string Name { get; set; }
Methods
Adds the current instance to the parent TagHelper, if applicable.
protected override void AddSelfToParent(TagHelperContext context)
Overrides:
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Overrides:
Serializes the defined settings.