Kendo UI DiagramConnectionEditableSettingsToolMenuButton TagHelper DiagramConnectionEditableSettingsToolMenuButtonTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
[HtmlTargetElement("menu-button", ParentTag = "menu-buttons", TagStructure = TagStructure.NormalOrSelfClosing)]
[SuppressTagRendering]
public class DiagramConnectionEditableSettingsToolMenuButtonTagHelper : TagHelperCollectionItemBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseTagHelperCollectionItemBaseDiagramConnectionEditableSettingsToolMenuButtonTagHelper
Implements:
Inherited Members
Example:
@addTagHelper *, Kendo.Mvc
<kendo-diagram name="diagram">
<connections>
<connection>
<editable>
<tools>
<tool>
<menu-buttons>
<menu-button enable="true"></menu-button>
</menu-buttons>
</tool>
</tools>
</editable>
</connection>
</connections>
</kendo-diagram>
Constructors
Initializes a new instance of the DiagramConnectionEditableSettingsToolMenuButtonTagHelper class.
public DiagramConnectionEditableSettingsToolMenuButtonTagHelper()
Properties
Specifies whether the menu button is initially enabled or disabled.
public bool? Enable { get; set; }
Specifies the HTML attributes of a menu button.
public IDictionary<string, object> HtmlAttributes { get; set; }
Sets icon for the menu buttons. 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 menu button.
public string ImageUrl { get; set; }
Defines a CSS class (or multiple classes separated by spaces) which will be used for menu button icon.
public string SpriteCssClass { 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.