Kendo UI actionButton TagHelper
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("action-button", ParentTag = "kendo-promptbox", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("promptbox-action-button-icon", new string[] { "promptbox-action-button-loading-icon" })]
[SuppressTagRendering]
public class PromptBoxActionButtonSettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBasePromptBoxActionButtonSettingsTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-promptbox name="promptbox">
<action-button enable="false" />
</kendo-promptbox>
Child Tags
Constructors
Initializes a new instance of the PromptBoxActionButtonSettingsTagHelper class.
public PromptBoxActionButtonSettingsTagHelper()
Properties
Defines the fill mode for the Action button.
public ButtonFillMode? FillMode { get; set; }
Defines the font icon name for the send state.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 font icon name for the loading/stop state.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("loading-icon")]
public string LoadingIcon { get; set; }
Defines the border radius for the Action button.
public Rounded? Rounded { get; set; }
Defines the size of the Action button.
public ComponentSize? Size { get; set; }
Defines the theme color for the Action button.
public ThemeColor? ThemeColor { 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.