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

Razor
 
             @(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

Razor
 
             @(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

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

Points(System.Boolean)

Specifies whether the connection path can be reshaped by the user. When enabled, dragging a connection handle adds or updates connection points to reflect the new route. User-defined points are shown as hollow circular markers and can be removed by double-clicking them.

Parameters

enabled - System.Boolean

Enables or disables the points option.

Points(System.Action)

Specifies whether the connection path can be reshaped by the user. When enabled, dragging a connection handle adds or updates connection points to reflect the new route. User-defined points are shown as hollow circular markers and can be removed by double-clicking them.

Parameters

configurator - System.Action<DiagramConnectionDefaultsEditablePointsSettingsBuilder>

The action that configures the points.