DiagramShapeEditableSettingsToolFactory
Methods
Custom()
Adds a custom command in the toolbar.
Example
@(Html.Kendo().Diagram()
.Name("diagram")
.Shapes(shape => shape
.Add().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")
.Shapes(shape => shape
.Add().Editable(e => e.Tools(tt => tt.Edit()))
)
)
Delete()
Adds an item for the delete action.
Example
@(Html.Kendo().Diagram()
.Name("diagram")
.Shapes(shape => shape
.Add().Editable(e => e.Tools(tt => tt.Delete()))
)
)
RotateClockwise()
Adds an item for the rotateClockwise action.
Example
@(Html.Kendo().Diagram()
.Name("diagram")
.Shapes(shape => shape
.Add().Editable(e => e.Tools(tt => tt.RotateClockwise()))
)
)
RotateAnticlockwise()
Adds an item for the rotateAnticlockwise action.
Example
@(Html.Kendo().Diagram()
.Name("diagram")
.Shapes(shape => shape
.Add().Editable(e => e.Tools(tt => tt.RotateAnticlockwise()))
)
)