DiagramShapeEditableSettingsBuilder
Methods
Connect(System.Boolean)
Specifies whether the connectors must appear on hover. If set to "false", the user will not be able to create new connections from the shape to other shapes. Also, it will not be possible to change the connector of an existing connection between this and another shape.
Parameters
value - System.Boolean
The value that configures the connect.
Example
@(Html.Kendo().Diagram()
.Name("diagram")
.Shapes(shape => shape
.Add().Editable(e => e.Connect(false))
)
)
Tools(System.Action)
Specifies the the toolbar tools.
Parameters
configurator - System.Action<DiagramShapeEditableSettingsToolFactory>
The action that configures the tools.
Example
@(Html.Kendo().Diagram()
.Name("diagram")
.Shapes(shape => shape
.Add().Editable(e => e.Tools(tt =>
{
tt.Delete();
tt.Edit();
tt.RotateClockwise();
tt.RotateAnticlockwise();
}))
)
)