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

DiagramConnectionDefaultsEditableSettingsBuilder

Methods

Drag(System.Boolean)

Specifies if the connections can be dragged by default.

Parameters

value - System.Boolean

The value that enables or disables the Drag option.

Example


             @(Html.Kendo().Diagram()
              .Name("diagram")
              .ConnectionDefaults(cd => cd
                .Editable(e => e.Drag(false))
               )
             )

Remove(System.Boolean)

Specifies if the connections can be removed by default.

Parameters

value - System.Boolean

The value that configures the Remove option.

Example


             @(Html.Kendo().Diagram()
              .Name("diagram")
              .ConnectionDefaults(cd => cd
                .Editable(e => e.Remove(false))
               )
             )

Tools(System.Action)

Specifies the default toolbar tools of the connections

Parameters

configurator - System.Action<DiagramConnectionDefaultsEditableSettingsToolFactory>

The action that configures the toolbar tools settings.

Example


             @(Html.Kendo().Diagram()
              .Name("diagram")
              .ConnectionDefaults(cd => cd
                .Editable(e => e.Tools(tt => tt.Delete()))
               )
             )

In this article
Not finding the help you need?