DiagramShapeDefaultsEditableSettingsToolFactory
Methods
Custom()
Adds a custom command in the toolbar.
Example
@(Html.Kendo().Diagram()
.Name("diagram")
.ShapeDefaults(sd => sd
.Editable(e => e.Tools(tt => tt.Custom().Name("settingsBtn").Text("User settings").Type("button")))
)
)
Edit()
Adds an item for the edit action.
Example
@(Html.Kendo().Diagram()
.Name("diagram")
.ShapeDefaults(sd => sd
.Editable(e => e.Tools(tt => tt.Edit()))
)
)
Delete()
Adds an item for the delete action.
Example
@(Html.Kendo().Diagram()
.Name("diagram")
.ShapeDefaults(sd => sd
.Editable(e => e.Tools(tt => tt.Delete()))
)
)
RotateClockwise()
Adds an item for the RotateClockwise action.
Example
@(Html.Kendo().Diagram()
.Name("diagram")
.ShapeDefaults(sd => sd
.Editable(e => e.Tools(tt => tt.RotateClockwise()))
)
)
RotateAnticlockwise()
Adds an item for the RotateAnticlockwise action.
Example
@(Html.Kendo().Diagram()
.Name("diagram")
.ShapeDefaults(sd => sd
.Editable(e => e.Tools(tt => tt.RotateAnticlockwise()))
)
)