New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Defines the client events handlers.

Definition

Constructors

C#
public DiagramClientEvents()

Properties

Specifies whether the implementing object has default values.

C#
public bool IsDefault { get; }

Implements: IDefaultCheck.IsDefault

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.

C#
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.

C#
public string OnCancel { get; set; }

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

C#
public string OnChange { get; set; }

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

C#
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.

C#
public string OnDataBound { get; set; }

Fired when dragging shapes or connection.

C#
public string OnDrag { get; set; }

Fired after finishing dragging shapes or connection.

C#
public string OnDragEnd { get; set; }

Fired before starting dragging shapes or connection.

C#
public string OnDragStart { get; set; }

Fired when the user edits a shape or connection.

C#
public string OnEdit { get; set; }

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

C#
public string OnItemBoundsChange { get; set; }

Fired when a shape is rotated.

C#
public string OnItemRotate { get; set; }

Fired when the diagram control is loaded on the page

C#
[ClientControlEvent]
[ClientPropertyName("load")]
public string OnLoad { get; set; }

Fired when the mouse enters a shape or a connection.Will not fire for disabled items.

C#
public string OnMouseEnter { get; set; }

Fired when the mouse leaves a shape or a connection.Will not fire for disabled items.

C#
public string OnMouseLeave { get; set; }

Fired when the user pans the diagram.

C#
public string OnPan { get; set; }

Fired when the user removes a shape or connection.

C#
public string OnRemove { get; set; }

Fired when the user saved a shape or a connection.

C#
public string OnSave { get; set; }

Fired when the user selects one or more items.

C#
public string OnSelect { get; set; }

Fired when the user clicks an item in the toolbar.

C#
public string OnToolBarClick { get; set; }

Fired when the user changes the diagram zoom level.

C#
public string OnZoomEnd { get; set; }

Fired when the user starts changing the diagram zoom level.

C#
public string OnZoomStart { get; set; }