DiagramClientEvents
Defines the client events handlers.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class DiagramClientEvents : StateManager, IMarkableStateManager, IStateManager, IDefaultCheck
Inheritance: objectStateManagerDiagramClientEvents
Implements:
Inherited Members
Constructors
public DiagramClientEvents()
Properties
Specifies whether the implementing object has default values.
public bool IsDefault { get; }
Implements:
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 string OnAdd { get; set; }
Fired when the user clicks the "cancel" button in the popup window in case the item was added via a toolbar.
public string OnCancel { get; set; }
Fired when an item is added or removed to/from the diagram.
public string OnChange { get; set; }
Fired when the user clicks on a shape or a connection.
public string OnClick { get; set; }
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 string OnDataBound { get; set; }
Fired after finishing dragging shapes or connection.
public string OnDragEnd { get; set; }
Fired before starting dragging shapes or connection.
public string OnDragStart { get; set; }
Fired when the location or size of a shape are changed.
public string OnItemBoundsChange { get; set; }
Fired when a shape is rotated.
public string OnItemRotate { get; set; }
Fired when the diagram control is loaded on the page
[ClientControlEvent]
[ClientPropertyName("load")]
public string OnLoad { get; set; }
Fired when the mouse enters a shape or a connection.Will not fire for disabled items.
public string OnMouseEnter { get; set; }
Fired when the mouse leaves a shape or a connection.Will not fire for disabled items.
public string OnMouseLeave { get; set; }
Fired when the user removes a shape or connection.
public string OnRemove { get; set; }
Fired when the user saved a shape or a connection.
public string OnSave { get; set; }
Fired when the user selects one or more items.
public string OnSelect { get; set; }
Fired when the user clicks an item in the toolbar.
public string OnToolBarClick { get; set; }
Fired when the user changes the diagram zoom level.
public string OnZoomEnd { get; set; }
Fired when the user starts changing the diagram zoom level.
public string OnZoomStart { get; set; }