New to Telerik UI for ASP.NET MVC? Download free 30-day trial

DiagramShapeDefaultsEditableSettingsToolTagHelper

Example

<tool>
    <buttons></buttons>
    <menu-buttons></menu-buttons>
</tool>

ChildTags

Tag Name Details
buttons DiagramConnectionDefaultsEditableSettingsToolButtonsTagHelper
menu-buttons DiagramConnectionDefaultsEditableSettingsToolMenuButtonsTagHelper

Attributes

Attribute Type Description
name String The name of the tool. The built-in tools are edit, delete, rotateClockwise, and rotateAnticlockwise.
click String Specifies the click event handler of the button. Applicable only for commands of type button and splitButton.
enable Boolean Specifies whether the control is initially enabled or disabled. Default value is "true".
group String Assigns the button to a group. Applicable only for buttons with togglable set to true.
html-attributes IDictionary<String,Object> Specifies the HTML attributes of a button.
icon String Sets icon for the item. The icon should be one of the existing in the Kendo UI theme sprite.
id String Specifies the ID of the button.
image-url String If set, the ToolBar will render an image with the specified URL in the button.
overflow String Specifies how the button behaves when the ToolBar is resized. Possible values are "always", "never" or "auto" (default).
overflow-template String Specifies what element will be added in the command overflow popup. Applicable only for items that have a template.
overflow-template-handler String Specifies what element will be added in the command overflow popup. Applicable only for items that have a template.
overflow-template-id String Specifies what element will be added in the command overflow popup. Applicable only for items that have a template.
overflow-template-view IHtmlContent Specifies what element will be added in the command overflow popup. Applicable only for items that have a template.
primary Boolean Specifies whether the button is primary. Primary buttons receive different styling.
selected Boolean Specifies if the toggle button is initially selected. Applicable only for buttons with togglable set to true.
show-icon String Specifies where the button icon will be displayed. Possible values are "toolbar", "overflow" or "both" (default).
show-text String Specifies where the text will be displayed. Possible values are "toolbar", "overflow" or "both" (default).
sprite-css-class String Defines a CSS class (or multiple classes separated by spaces) which will be used for button icon.
step Double The step of the rotateClockwise and rotateAnticlockwise tools. It determines the angle at which a selected shape will be rotated when one of the tools is clicked.
template String Specifies what element will be added in the ToolBar wrapper. Items with template does not have a type.
template-handler String Specifies what element will be added in the ToolBar wrapper. Items with template does not have a type.
template-id String Specifies what element will be added in the ToolBar wrapper. Items with template does not have a type.
template-view IHtmlContent Specifies what element will be added in the ToolBar wrapper. Items with template does not have a type.
text String Sets the text of the button.
togglable Boolean Specifies if the button is togglable, e.g. has a selected and unselected state.
toggle String Specifies the toggle event handler of the button. Applicable only for commands of type button and togglable set to true.
type String Specifies the command type. Supported types are "button", "splitButton", "buttonGroup", "separator".
url String Specifies the url to navigate to.
In this article
Not finding the help you need?