DiagramEventBuilder
Defines the fluent API for configuring the Kendo Diagram for ASP.NET MVC events.
Methods
Add(System.String)
Fired when the user adds new shape or connection.The event handler function context (available via the this keyword) will be set to the widget instance.
For more information see Add event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the add event.
Cancel(System.String)
Fired when the user clicks the "cancel" button in the popup window in case the item was added via a toolbar.
For more information see Cancel event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the cancel event.
Change(System.String)
Fired when an item is added or removed to/from the diagram.
For more information see Change event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the change event.
Click(System.String)
Fired when the user clicks on a shape or a connection.
For more information see Click event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the click event.
DataBound(System.String)
Fired when the widget is bound to data from dataDource and connectionsDataSource.The event handler function context (available via the this keyword) will be set to the widget instance.
For more information see DataBound event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the dataBound event.
Drag(System.String)
Fired when dragging shapes or connection.
For more information see Drag event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the drag event.
DragEnd(System.String)
Fired after finishing dragging shapes or connection.
For more information see DragEnd event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the dragEnd event.
DragStart(System.String)
Fired before starting dragging shapes or connection.
For more information see DragStart event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the dragStart event.
Edit(System.String)
Fired when the user edits a shape or connection.
For more information see Edit event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the edit event.
ItemBoundsChange(System.String)
Fired when the location or size of an item are changed.
For more information see ItemBoundsChange event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the itemBoundsChange event.
ItemRotate(System.String)
Fired when an item is rotated.
For more information see ItemRotate event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the itemRotate event.
MouseEnter(System.String)
Fired when the mouse enters a shape or a connection.Will not fire for disabled items.
For more information see MouseEnter event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the mouseEnter event.
MouseLeave(System.String)
Fired when the mouse leaves a shape or a connection.Will not fire for disabled items.
For more information see MouseLeave event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the mouseLeave event.
Pan(System.String)
Fired when the user pans the diagram.
For more information see Pan event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the pan event.
Remove(System.String)
Fired when the user removes a shape or connection.
For more information see Remove event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the remove event.
Save(System.String)
Fired when the user saved a shape or a connection.
For more information see Save event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the save event.
Select(System.String)
Fired when the user selects one or more items.
For more information see Select event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the select event.
ZoomEnd(System.String)
Fired when the user changes the diagram zoom level.
For more information see ZoomEnd event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the zoomEnd event.
ZoomStart(System.String)
Fired when the user starts changing the diagram zoom level.
For more information see ZoomStart event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the zoomStart event.
ToolBarClick(System.String)
Fired when the user clicks an item in the toolbar.
For more information see ToolBarClick event.
Parameters
handler - System.String
The name of the JavaScript function that will handle the toolBarClick event.