DiagramConnectionDefaultsEditableSettingsToolFactory

Methods

Custom()

Adds a custom command in the default toolbar.

Example

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

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

Razor
 
             @(Html.Kendo().Diagram()
              .Name("diagram")
              .ConnectionDefaults(cd => cd
                .Editable(e => e.Tools(tt => tt.Delete()))
               )
             )
             
In this article
MethodsCustom()Edit()Delete()
Not finding the help you need?
Contact Support