DiagramEditableSettingsToolBuilder

Methods

Name(System.String)

The name of the tool. The built-in tools are "edit", "createShape", "createConnection", "undo", "redo", "rotateClockwise" and "rotateAnticlockwise".

Parameters

value - System.String

The value for Name

RETURNS

Returns the current DiagramEditableSettingsToolBuilder instance.

Step(System.Double)

The step of the rotateClockwise and rotateAnticlockwise tools.

Parameters

value - System.Double

The value for Step

RETURNS

Returns the current DiagramEditableSettingsToolBuilder instance.

HtmlAttributes(System.Collections.Generic.IDictionary)

Specifies the HTML attributes of a button.

Parameters

value - System.Collections.Generic.IDictionary<String,Object>

The value for HtmlAttributes

RETURNS

Returns the current DiagramEditableSettingsToolBuilder instance.

HtmlAttributes(System.Object)

Specifies the HTML attributes of a button.

Parameters

value - System.Object

The value for HtmlAttributes

RETURNS

Returns the current DiagramEditableSettingsToolBuilder instance.

Buttons(System.Action)

Specifies the buttons of ButtonGroup.

Parameters

configurator - System.Action<DiagramEditableSettingsToolButtonFactory>

The configurator for the buttons setting.

RETURNS

Returns the current instance of DiagramEditableSettingsToolBuilder .

Click(System.String)

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

Parameters

handler - System.String

The name of the JavaScript function that will be evaluated.

RETURNS

Returns the current DiagramEditableSettingsToolBuilder instance.

Click(System.Func)

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

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current DiagramEditableSettingsToolBuilder instance.

Enable(System.Boolean)

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

Parameters

value - System.Boolean

The value for Enable

RETURNS

Returns the current DiagramEditableSettingsToolBuilder instance.

Group(System.String)

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

Parameters

value - System.String

The value for Group

RETURNS

Returns the current DiagramEditableSettingsToolBuilder instance.

Icon(System.String)

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

Parameters

value - System.String

The value for Icon

RETURNS

Returns the current DiagramEditableSettingsToolBuilder instance.

Id(System.String)

Specifies the ID of the button.

Parameters

value - System.String

The value for Id

RETURNS

Returns the current DiagramEditableSettingsToolBuilder instance.

ImageUrl(System.String)

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

Parameters

value - System.String

The value for ImageUrl

RETURNS

Returns the current DiagramEditableSettingsToolBuilder instance.

Specifies the menu buttons of a SplitButton.

Parameters

configurator - System.Action<DiagramEditableSettingsToolMenuButtonFactory>

The configurator for the menubuttons setting.

RETURNS

Returns the current instance of DiagramEditableSettingsToolBuilder .

Overflow(System.String)

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

Parameters

value - System.String

The value for Overflow

RETURNS

Returns the current DiagramEditableSettingsToolBuilder instance.

OverflowTemplate(System.String)

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

Parameters

value - System.String

The value for OverflowTemplate

RETURNS

Returns the current DiagramEditableSettingsToolBuilder instance.

OverflowTemplateId(System.String)

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

Parameters

templateId - System.String

The ID of the template element for OverflowTemplate

RETURNS

Returns the current DiagramEditableSettingsToolBuilder instance.

OverflowTemplateView(Microsoft.AspNetCore.Html.IHtmlContent)

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

Parameters

templateView - Microsoft.AspNetCore.Html.IHtmlContent

The view that contains the template for OverflowTemplate

RETURNS

Returns the current DiagramEditableSettingsToolBuilder instance.

OverflowTemplateHandler(System.String)

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

Parameters

templateHandler - System.String

The handler that returs the template for OverflowTemplate

RETURNS

Returns the current DiagramEditableSettingsToolBuilder instance.

OverflowTemplate(Kendo.Mvc.UI.Fluent.TemplateBuilder)

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

Parameters

template - TemplateBuilder<TModel>

A Template component that configures the overflowtemplate.

RETURNS

Returns the current DiagramEditableSettingsToolBuilder instance.

Primary(System.Boolean)

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

Parameters

value - System.Boolean

The value for Primary

RETURNS

Returns the current DiagramEditableSettingsToolBuilder instance.

Selected(System.Boolean)

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

Parameters

value - System.Boolean

The value for Selected

RETURNS

Returns the current DiagramEditableSettingsToolBuilder instance.

ShowIcon(System.String)

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

Parameters

value - System.String

The value for ShowIcon

RETURNS

Returns the current DiagramEditableSettingsToolBuilder instance.

ShowText(System.String)

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

Parameters

value - System.String

The value for ShowText

RETURNS

Returns the current DiagramEditableSettingsToolBuilder instance.

SpriteCssClass(System.String)

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

Parameters

value - System.String

The value for SpriteCssClass

RETURNS

Returns the current DiagramEditableSettingsToolBuilder instance.

Template(System.String)

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

Parameters

value - System.String

The value for Template

RETURNS

Returns the current DiagramEditableSettingsToolBuilder instance.

TemplateId(System.String)

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

Parameters

templateId - System.String

The ID of the template element for Template

RETURNS

Returns the current DiagramEditableSettingsToolBuilder instance.

TemplateView(Microsoft.AspNetCore.Html.IHtmlContent)

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

Parameters

templateView - Microsoft.AspNetCore.Html.IHtmlContent

The view that contains the template for Template

RETURNS

Returns the current DiagramEditableSettingsToolBuilder instance.

TemplateHandler(System.String)

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

Parameters

templateHandler - System.String

The handler that returs the template for Template

RETURNS

Returns the current DiagramEditableSettingsToolBuilder instance.

Template(Kendo.Mvc.UI.Fluent.TemplateBuilder)

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

Parameters

template - TemplateBuilder<TModel>

A Template component that configures the template.

RETURNS

Returns the current DiagramEditableSettingsToolBuilder instance.

Text(System.String)

Sets the text of the button.

Parameters

value - System.String

The value for Text

RETURNS

Returns the current DiagramEditableSettingsToolBuilder instance.

Togglable(System.Boolean)

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

Parameters

value - System.Boolean

The value for Togglable

RETURNS

Returns the current DiagramEditableSettingsToolBuilder instance.

Toggle(System.String)

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

Parameters

handler - System.String

The name of the JavaScript function that will be evaluated.

RETURNS

Returns the current DiagramEditableSettingsToolBuilder instance.

Toggle(System.Func)

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

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current DiagramEditableSettingsToolBuilder instance.

Type(System.String)

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

Parameters

value - System.String

The value for Type

RETURNS

Returns the current DiagramEditableSettingsToolBuilder instance.

Url(System.String)

Specifies the url to navigate to.

Parameters

value - System.String

The value for Url

RETURNS

Returns the current DiagramEditableSettingsToolBuilder instance.