Kendo.Mvc.UI.Fluent.DiagramEditableSettingsBuilder

Defines the fluent API for configuring DiagramEditableSettings

Methods

ConnectionTemplate(System.String)

Specifies the connection editor template which shows up when editing the connection. A template can be used to change the default editors for the connection fields or to prevent some fields from being edited by not rendering an editor input for them.

Parameters

value System.String

The value for ConnectionTemplate

ConnectionTemplateId(System.String)

Specifies the connection editor template which shows up when editing the connection. A template can be used to change the default editors for the connection fields or to prevent some fields from being edited by not rendering an editor input for them.

Parameters

templateId System.String

The ID of the template element for ConnectionTemplate

Drag(System.Action<Kendo.Mvc.UI.Fluent.DiagramEditableDragSettingsBuilder<T,T>>)

Specifies if the shapes and connections can be dragged.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.DiagramEditableDragSettingsBuilder>

The configurator for the drag setting.

Drag(System.Boolean)

Specifies if the shapes and connections can be dragged.

Parameters

enabled System.Boolean

Enables or disables the drag option.

Remove(System.Boolean)

Specifies if the shapes and connections can be removed.

Parameters

value System.Boolean

The value for Remove

Resize(System.Action<Kendo.Mvc.UI.Fluent.DiagramEditableResizeSettingsBuilder<T,T>>)

Defines the look-and-feel of the shape resizing handles.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.DiagramEditableResizeSettingsBuilder>

The configurator for the resize setting.

Resize(System.Boolean)

Defines the look-and-feel of the shape resizing handles.

Parameters

enabled System.Boolean

Enables or disables the resize option.

Rotate(System.Action<Kendo.Mvc.UI.Fluent.DiagramEditableRotateSettingsBuilder<T,T>>)

Specifies whether the shapes can be rotated. Note that changing this setting after creating the diagram will have no effect.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.DiagramEditableRotateSettingsBuilder>

The configurator for the rotate setting.

Rotate(System.Boolean)

Specifies whether the shapes can be rotated. Note that changing this setting after creating the diagram will have no effect.

Parameters

enabled System.Boolean

Enables or disables the rotate option.

ShapeTemplate(System.String)

Specifies the shape editor template. You can use it to customize the editing UI of the shape or to display editor controls only for certain fields of the shape data item.

Parameters

value System.String

The value for ShapeTemplate

ShapeTemplateId(System.String)

Specifies the shape editor template. You can use it to customize the editing UI of the shape or to display editor controls only for certain fields of the shape data item.

Parameters

templateId System.String

The ID of the template element for ShapeTemplate

Tools(System.Action<Kendo.Mvc.UI.Fluent.DiagramEditableSettingsToolFactory<T,T>>)

Specifies the the toolbar tools. Supports all options supported by the toolbar.items property. Predefined tools are: "edit" - The selected item can be edited.; "createShape" - Adds an empty shape data item and a popup window is displayed.; "createConnection" - Adds an empty connection data item and a popup window is displayed.; "undo" - Undoes the previous action.; "redo" - Executes again the previously undone action.; "rotateClockwise" - The selected items can be rotated clockwise. The default rotation value is 90 degree. or "rotateAnticlockwise" - The selected items can be rotated anticlockwise. The default rotation value is 90 degree..

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.DiagramEditableSettingsToolFactory>

The configurator for the tools setting.

In this article
Not finding the help you need?