Kendo UI DiagramShapeDefaultsEditableSettingsToolButton TagHelper DiagramShapeDefaultsEditableSettingsToolButtonTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("button", ParentTag = "buttons", TagStructure = TagStructure.NormalOrSelfClosing)]
[SuppressTagRendering]
public class DiagramShapeDefaultsEditableSettingsToolButtonTagHelper : TagHelperCollectionItemBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseTagHelperCollectionItemBaseDiagramShapeDefaultsEditableSettingsToolButtonTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-diagram name="diagram">
<shape-defaults>
<editable>
<tools>
<tool>
<buttons>
<button click="onButtonClick"></button>
</buttons>
</tool>
</tools>
</editable>
</shape-defaults>
</kendo-diagram>
Constructors
Initializes a new instance of the DiagramShapeDefaultsEditableSettingsToolButtonTagHelper class.
public DiagramShapeDefaultsEditableSettingsToolButtonTagHelper()
Properties
Specifies the click event handler of the button. Applicable only for the children of a ButtonGroup.
public string Click { get; set; }
Specifies whether the button is initially enabled or disabled.
public bool? Enable { get; set; }
Assigns the button to a group. Applicable only for the children of a ButtonGroup that has togglable true.
public string Group { get; set; }
Specifies the HTML attributes of a ButtonGroup's button.
public IDictionary<string, object> HtmlAttributes { get; set; }
Sets icon for the menu button. 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 if the toggle button is initially selected. Applicable only for the children of a ButtonGroup that has togglable true.
public bool? Selected { get; set; }
Specifies where the icon of the button will be displayed. Applicable only for the children of a ButtonGroup.
public string ShowIcon { get; set; }
Specifies where the text of the menu button will be displayed. Applicable only for the buttons of a ButtonGroup.
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 if the button is togglable, e.g. has a selected and unselected state. Applicable only for the children of a ButtonGroup.
public bool? Togglable { get; set; }
Specifies the toggle event handler of the button. Applicable only for the children of a ButtonGroup.
public string Toggle { 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.