Kendo UI TaskBoardToolbarSettingsItem TagHelper TaskBoardToolbarSettingsItemTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("item", ParentTag = "items", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("icon", new string[] { "item-template" })]
[SuppressTagRendering]
public class TaskBoardToolbarSettingsItemTagHelper : TagHelperCollectionItemBase, ITagHelper, ITagHelperComponent, ITemplateComponent
Inheritance: objectTagHelperTagHelperChildBaseTagHelperCollectionItemBaseTaskBoardToolbarSettingsItemTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-taskboard name="taskboard">
<toolbar>
<items>
<item click="handler"></item>
</items>
</toolbar>
</kendo-taskboard>
<script>
function handler(e) {
//handler code
}
</script>
Child Tags
Constructors
Initializes a new instance of the TaskBoardToolbarSettingsItemTagHelper class.
public TaskBoardToolbarSettingsItemTagHelper()
Properties
Specifies whether the control is initially enabled or disabled. Default value is "true".
public bool? Enable { get; set; }
Determines if a button is visible or hidden. By default buttons are visible.
public bool? Hidden { get; set; }
Specifies the HTML attributes of a ToolBar button.
public IDictionary<string, object> HtmlAttributes { get; set; }
Sets icon for the item. The icon should be one of the existing in the Kendo UI theme sprite.
public string Icon { get; set; }
If set, the ToolBar will render an image with the specified URL in the button.
public string ImageUrl { get; set; }
Specifies whether the button is primary. Primary buttons receive different styling.
public bool? Primary { get; set; }
Specifies where the button icon will be displayed. Possible values are: "toolbar", "overflow" or "both" (default).
public string ShowIcon { get; set; }
Specifies where the text will be displayed. Possible values are: "toolbar", "overflow" or "both" (default).
public string ShowText { get; set; }
Defines a CSS class (or multiple classes separated by spaces) which will be used for button icon.
public string SpriteCssClass { get; set; }
Specifies what element will be added in the ToolBar wrapper. Items with template does not have a type.
public string Template { get; set; }
Specifies what element will be added in the ToolBar wrapper. Items with template does not have a type.
public string TemplateHandler { get; set; }
Specifies what element will be added in the ToolBar wrapper. Items with template does not have a type.
public string TemplateId { get; set; }
Represents a collection of templates defined for the component.
[HtmlAttributeNotBound]
public IDictionary<string, string> Templates { get; }
Implements:
Specifies what element will be added in the ToolBar wrapper. Items with template does not have a type.
public IHtmlContent TemplateView { get; set; }
Specifies if the button is togglable, e.g. has a selected and unselected state.
public bool? Togglable { get; set; }
Methods
Adds the current TagHelper instance to its parent TagHelper.
protected override void AddSelfToParent(TagHelperContext context)
The TagHelper context.
Overrides:
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Overrides:
Serializes the defined settings.