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

Defines the fluent API for configuring the Kendo UI Sankey for ASP.NET MVC events.

Definition

Constructors

Initializes a new instance of the SankeyEventBuilder class.

C#
public SankeyEventBuilder(IDictionary<string, object> events)
Parameters:eventsIDictionary<string, object>

The Sankey event handlers.

Methods

Defines the handler of the LinkClick client-side event. Fires when the user clicks a link.

C#
public SankeyEventBuilder LinkClick(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

SankeyEventBuilder

Returns the current instance of SankeyEventBuilder .

Defines the handler of the LinkClick client-side event. Fires when the user clicks a link.

C#
public SankeyEventBuilder LinkClick(string handler)
Parameters:handlerstring

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

Returns:

SankeyEventBuilder

Returns the current instance of SankeyEventBuilder .

Defines the handler of the LinkEnter client-side event. Fires when the user enters a link. Similar to the mouseenter event.

C#
public SankeyEventBuilder LinkEnter(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

SankeyEventBuilder

Returns the current instance of SankeyEventBuilder .

Defines the handler of the LinkEnter client-side event. Fires when the user enters a link. Similar to the mouseenter event.

C#
public SankeyEventBuilder LinkEnter(string handler)
Parameters:handlerstring

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

Returns:

SankeyEventBuilder

Returns the current instance of SankeyEventBuilder .

Defines the handler of the LinkLeave client-side event. Fires when the user leaves a link. Similar to the mouseleave event.

C#
public SankeyEventBuilder LinkLeave(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

SankeyEventBuilder

Returns the current instance of SankeyEventBuilder .

Defines the handler of the LinkLeave client-side event. Fires when the user leaves a link. Similar to the mouseleave event.

C#
public SankeyEventBuilder LinkLeave(string handler)
Parameters:handlerstring

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

Returns:

SankeyEventBuilder

Returns the current instance of SankeyEventBuilder .

Defines the handler of the NodeClick client-side event. Fires when the user clicks a node.

C#
public SankeyEventBuilder NodeClick(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

SankeyEventBuilder

Returns the current instance of SankeyEventBuilder .

Defines the handler of the NodeClick client-side event. Fires when the user clicks a node.

C#
public SankeyEventBuilder NodeClick(string handler)
Parameters:handlerstring

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

Returns:

SankeyEventBuilder

Returns the current instance of SankeyEventBuilder .

Defines the handler of the NodeEnter client-side event. Fires when the user enters a node. Similar to the mouseenter event.

C#
public SankeyEventBuilder NodeEnter(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

SankeyEventBuilder

Returns the current instance of SankeyEventBuilder .

Defines the handler of the NodeEnter client-side event. Fires when the user enters a node. Similar to the mouseenter event.

C#
public SankeyEventBuilder NodeEnter(string handler)
Parameters:handlerstring

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

Returns:

SankeyEventBuilder

Returns the current instance of SankeyEventBuilder .

Defines the handler of the NodeLeave client-side event. Fires when the user leaves a node. Similar to the mouseleave event.

C#
public SankeyEventBuilder NodeLeave(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

SankeyEventBuilder

Returns the current instance of SankeyEventBuilder .

Defines the handler of the NodeLeave client-side event. Fires when the user leaves a node. Similar to the mouseleave event.

C#
public SankeyEventBuilder NodeLeave(string handler)
Parameters:handlerstring

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

Returns:

SankeyEventBuilder

Returns the current instance of SankeyEventBuilder .