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

DiagramConnectionEditableSettingsToolFactory

Methods

Custom()

Adds a custom command in the toolbar of the connection.

Example


             @(Html.Kendo().Diagram()
              .Name("diagram")
              .Connections(c => c
                .Add().Editable(e => e.Tools(tt => tt.Custom().Name("settingsBtn").Text("User settings").Type("button")))
               )
             )

Edit()

Adds an item in the connection toolbar for the edit action.

Example


             @(Html.Kendo().Diagram()
              .Name("diagram")
              .Connections(c => c
                .Add().Editable(e => e.Tools(tt => tt.Edit()))
               )
             )

Delete()

Adds an item in the connection toolbar for the delete action.

Example


             @(Html.Kendo().Diagram()
              .Name("diagram")
              .Connections(c => c
                .Add().Editable(e => e.Tools(tt => tt.Delete()))
               )
             )

In this article
Not finding the help you need?