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

DiagramConnectionDefaultsEditableSettingsToolFactory

Methods

Custom()

Adds a custom command in the default toolbar.

Example


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

Edit()

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

Example


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

Delete()

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

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?