DiagramEventBuilder
Defines the fluent API for configuring the Telerik UI Diagram for ASP.NET MVC client events.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class DiagramEventBuilder : EventBuilder
Inheritance: objectEventBuilderDiagramEventBuilder
Inherited Members
Constructors
public DiagramEventBuilder(IDictionary<string, object> events)
Methods
Defines the handler of the Add client-side event. 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.
public DiagramEventBuilder Add(string handler)
The name of the JavaScript function that will handle the Add event.
Returns:Defines the handler of the Cancel client-side event. Fired when the user clicks the "cancel" button in the popup window in case the item was added via a toolbar.
public DiagramEventBuilder Cancel(string handler)
The name of the JavaScript function that will handle the Cancel event.
Returns:Defines the handler of the Change client-side event. Fired when an item is added or removed to/from the diagram.
public DiagramEventBuilder Change(string handler)
The name of the JavaScript function that will handle the Change event.
Returns:Defines the handler of the Click client-side event. Fired when the user clicks on a shape or a connection.
public DiagramEventBuilder Click(string handler)
The name of the JavaScript function that will handle the Click event.
Returns:Defines the handler of the DataBound client-side event. 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.
public DiagramEventBuilder DataBound(string handler)
The name of the JavaScript function that will handle the DataBound event.
Returns:Defines the handler of the Drag client-side event. Fired when dragging shapes or connection.
public DiagramEventBuilder Drag(string handler)
The name of the JavaScript function that will handle the Drag event.
Returns:Defines the handler of the DragEnd client-side event. Fired after finishing dragging shapes or connection.
public DiagramEventBuilder DragEnd(string handler)
The name of the JavaScript function that will handle the DragEnd event.
Returns:Defines the handler of the DragStart client-side event. Fired before starting dragging shapes or connection.
public DiagramEventBuilder DragStart(string handler)
The name of the JavaScript function that will handle the DragStart event.
Returns:Defines the handler of the Edit client-side event. Fired when the user edits a shape or connection.
public DiagramEventBuilder Edit(string handler)
The name of the JavaScript function that will handle the Edit event.
Returns:Defines the handler of the ItemBoundsChange client-side event. Fired when the location or size of a shape are changed.
public DiagramEventBuilder ItemBoundsChange(string handler)
The name of the JavaScript function that will handle the ItemBoundsChange event.
Returns:Defines the handler of the ItemRotate client-side event. Fired when a shape is rotated.
public DiagramEventBuilder ItemRotate(string handler)
The name of the JavaScript function that will handle the ItemRotate event.
Returns:Defines the handler of the MouseEnter client-side event. Fired when the mouse enters a shape or a connection.Will not fire for disabled items.
public DiagramEventBuilder MouseEnter(string handler)
The name of the JavaScript function that will handle the MouseEnter event.
Returns:Defines the handler of the MouseLeave client-side event. Fired when the mouse leaves a shape or a connection.Will not fire for disabled items.
public DiagramEventBuilder MouseLeave(string handler)
The name of the JavaScript function that will handle the MouseLeave event.
Returns:Defines the handler of the Pan client-side event. Fired when the user pans the diagram.
public DiagramEventBuilder Pan(string handler)
The name of the JavaScript function that will handle the Pan event.
Returns:Defines the handler of the Remove client-side event. Fired when the user removes a shape or connection.
public DiagramEventBuilder Remove(string handler)
The name of the JavaScript function that will handle the Remove event.
Returns:Defines the handler of the Save client-side event. Fired when the user saves a shape or a connection.
public DiagramEventBuilder Save(string handler)
The name of the JavaScript function that will handle the Save event.
Returns:Defines the handler of the Select client-side event. Fired when the user selects one or more items.
public DiagramEventBuilder Select(string handler)
The name of the JavaScript function that will handle the Select event.
Returns:Defines the handler of the ToolBarClick client-side event. Fired when the user clicks an item in the toolbar.
public DiagramEventBuilder ToolBarClick(string handler)
The name of the JavaScript function that will handle the ToolBarClick event.
Returns:Defines the handler of the ZoomEnd client-side event. Fired when the user changes the diagram zoom level.
public DiagramEventBuilder ZoomEnd(string handler)
The name of the JavaScript function that will handle the ZoomEnd event.
Returns:Defines the handler of the ZoomStart client-side event. Fired when the user starts changing the diagram zoom level.
public DiagramEventBuilder ZoomStart(string handler)
The name of the JavaScript function that will handle the ZoomStart event.
Returns: