Edit this page

Kendo.Mvc.UI.Fluent.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 additional information check the add event documentation.

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 additional information check the cancel event documentation.

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 additional information check the change event documentation.

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 additional information check the click event documentation.

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 additional information check the dataBound event documentation.

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 additional information check the drag event documentation.

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 additional information check the dragEnd event documentation.

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 additional information check the dragStart event documentation.

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 additional information check the edit event documentation.

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 additional information check the itemBoundsChange event documentation.

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 additional information check the itemRotate event documentation.

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 additional information check the mouseEnter event documentation.

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 additional information check the mouseLeave event documentation.

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 additional information check the pan event documentation.

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 additional information check the remove event documentation.

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 additional information check the save event documentation.

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 additional information check the select event documentation.

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 additional information check the zoomEnd event documentation.

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 additional information check the zoomStart event documentation.

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 additional information check the toolBarClick event documentation.

Parameters

handler System.String

The name of the JavaScript function that will handle the toolBarClick event.