Kendo UI messages TagHelper
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
C#
[HtmlTargetElement("messages", ParentTag = "kendo-promptbox", TagStructure = TagStructure.WithoutEndTag)]
[SuppressTagRendering]
public class PromptBoxMessagesSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBasePromptBoxMessagesSettingsTagHelper
Implements:
Inherited Members
Example:
csharp
@addTagHelper *, Kendo.Mvc
<kendo-promptbox name="promptBox">
<messages action-button="Send" />
</kendo-promptbox>
Constructors
Initializes a new instance of the PromptBoxMessagesSettingsTagHelper class.
C#
public PromptBoxMessagesSettingsTagHelper()
Properties
Sets the tooltip and aria-label for the send button.
C#
public string ActionButton { get; set; }
Sets the tooltip and aria-label for the stop button.
C#
public string ActionButtonLoading { get; set; }
Sets the placeholder text for the input field.
C#
public string Placeholder { 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.