Kendo.Mvc.UI.DiagramShapeDefaultsEditableSettingsTool

Kendo UI DiagramShapeDefaultsEditableSettingsTool class

Properties

Name

The name of the tool. The built-in tools are edit, delete, rotateClockwise, and rotateAnticlockwise.

Step

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.

HtmlAttributes

Specifies the HTML attributes of a button.

Buttons

Specifies the buttons of ButtonGroup.

Click

Specifies the click event handler of the button. Applicable only for commands of type button and splitButton.

Enable

Specifies whether the control is initially enabled or disabled. Default value is "true".

Group

Assigns the button to a group. Applicable only for buttons with togglable set to true.

Icon

Sets icon for the item. The icon should be one of the existing in the Kendo UI theme sprite.

Id

Specifies the ID of the button.

ImageUrl

If set, the ToolBar will render an image with the specified URL in the button.

Specifies the menu buttons of a SplitButton.

Overflow

Specifies how the button behaves when the ToolBar is resized. Possible values are "always", "never" or "auto" (default).

OverflowTemplate

Specifies what element will be added in the command overflow popup. Applicable only for items that have a template.

OverflowTemplateId

The id of the script element used for OverflowTemplate

Primary

Specifies whether the button is primary. Primary buttons receive different styling.

Selected

Specifies if the toggle button is initially selected. Applicable only for buttons with togglable set to true.

ShowIcon

Specifies where the button icon will be displayed. Possible values are "toolbar", "overflow" or "both" (default).

ShowText

Specifies where the text will be displayed. Possible values are "toolbar", "overflow" or "both" (default).

SpriteCssClass

Defines a CSS class (or multiple classes separated by spaces) which will be used for button icon.

Template

Specifies what element will be added in the ToolBar wrapper. Items with template does not have a type.

TemplateId

The id of the script element used for Template

Text

Sets the text of the button.

Togglable

Specifies if the button is togglable, e.g. has a selected and unselected state.

Toggle

Specifies the toggle event handler of the button. Applicable only for commands of type button and togglable set to true.

Type

Specifies the command type. Supported types are "button", "splitButton", "buttonGroup", "separator".

Url

Specifies the url to navigate to.

Methods

Serialize

Serialize current instance to Dictionary

SerializeSettings

Serialize current instance to Dictionary

In this article
Not finding the help you need?