Kendo.Mvc.UI.Fluent.DiagramEventBuilder

Defines the fluent API for configuring the Kendo UI 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.

Add(System.Func<System.Object,System.Object>)

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.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

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.

Cancel(System.Func<System.Object,System.Object>)

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.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

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.

Change(System.Func<System.Object,System.Object>)

Fired when an item is added or removed to/from the diagram.

For additional information check the change event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

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.

Click(System.Func<System.Object,System.Object>)

Fired when the user clicks on a shape or a connection.

For additional information check the click event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

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.

DataBound(System.Func<System.Object,System.Object>)

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.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

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.

Drag(System.Func<System.Object,System.Object>)

Fired when dragging shapes or connection.

For additional information check the drag event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

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.

DragEnd(System.Func<System.Object,System.Object>)

Fired after finishing dragging shapes or connection.

For additional information check the dragEnd event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

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.

DragStart(System.Func<System.Object,System.Object>)

Fired before starting dragging shapes or connection.

For additional information check the dragStart event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

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.

Edit(System.Func<System.Object,System.Object>)

Fired when the user edits a shape or connection.

For additional information check the edit event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

ItemBoundsChange(System.String)

Fired when the location or size of a shape 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.

ItemBoundsChange(System.Func<System.Object,System.Object>)

Fired when the location or size of a shape are changed.

For additional information check the itemBoundsChange event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

ItemRotate(System.String)

Fired when a shape 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.

ItemRotate(System.Func<System.Object,System.Object>)

Fired when a shape is rotated.

For additional information check the itemRotate event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

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.

MouseEnter(System.Func<System.Object,System.Object>)

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.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

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.

MouseLeave(System.Func<System.Object,System.Object>)

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.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

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.

Pan(System.Func<System.Object,System.Object>)

Fired when the user pans the diagram.

For additional information check the pan event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

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.

Remove(System.Func<System.Object,System.Object>)

Fired when the user removes a shape or connection.

For additional information check the remove event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

Save(System.String)

Fired when the user saves 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.

Save(System.Func<System.Object,System.Object>)

Fired when the user saves a shape or a connection.

For additional information check the save event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

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.

Select(System.Func<System.Object,System.Object>)

Fired when the user selects one or more items.

For additional information check the select event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

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.

ToolBarClick(System.Func<System.Object,System.Object>)

Fired when the user clicks an item in the toolbar.

For additional information check the toolBarClick event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

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.

ZoomEnd(System.Func<System.Object,System.Object>)

Fired when the user changes the diagram zoom level.

For additional information check the zoomEnd event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

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.

ZoomStart(System.Func<System.Object,System.Object>)

Fired when the user starts changing the diagram zoom level.

For additional information check the zoomStart event documentation.

Parameters

handler System.Func<System.Object,System.Object>

The handler code wrapped in a text tag.

In this article
Not finding the help you need?