DiagramEditableSettingsToolFactory
Methods
Custom()
Adds a custom command in the toolbar.
Example
@(Html.Kendo().Diagram()
.Name("diagram")
.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")
.Editable(e => e.Tools(tt => tt.Edit()))
)
CreateShape()
Adds an item for the create shape action.
Example
@(Html.Kendo().Diagram()
.Name("diagram")
.Editable(e => e.Tools(tt => tt.CreateShape()))
)
CreateConnection()
Adds an item for the create connection action.
Example
@(Html.Kendo().Diagram()
.Name("diagram")
.Editable(e => e.Tools(tt => tt.CreateConnection()))
)
Undo()
Adds an item for the undo action.
Example
@(Html.Kendo().Diagram()
.Name("diagram")
.Editable(e => e.Tools(tt => tt.Undo()))
)
Redo()
Adds an item for the redo action.
Example
@(Html.Kendo().Diagram()
.Name("diagram")
.Editable(e => e.Tools(tt => tt.Redo()))
)
RotateClockwise()
Adds an item for the rotateClockwise action.
Example
@(Html.Kendo().Diagram()
.Name("diagram")
.Editable(e => e.Tools(tt => tt.RotateClockwise()))
)
RotateAnticlockwise()
Adds an item for the rotateAnticlockwise action.
Example
@(Html.Kendo().Diagram()
.Name("diagram")
.Editable(e => e.Tools(tt => tt.RotateAnticlockwise()))
)