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

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

Definition

Constructors

Initializes a new instance of the ChainOfThoughtEventBuilder class.

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

The ChainOfThought event handlers.

Methods

Defines the handler of the ExpandedChange client-side event. Fired when the user clicks the header to toggle the expanded state. Calling e.preventDefault() prevents the toggle from taking effect.The event handler function context (available via the this keyword) will be set to the widget instance.

C#
public ChainOfThoughtEventBuilder ExpandedChange(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

ChainOfThoughtEventBuilder

Returns the current instance of ChainOfThoughtEventBuilder .

Defines the handler of the ExpandedChange client-side event. Fired when the user clicks the header to toggle the expanded state. Calling e.preventDefault() prevents the toggle from taking effect.The event handler function context (available via the this keyword) will be set to the widget instance.

C#
public ChainOfThoughtEventBuilder ExpandedChange(string handler)
Parameters:handlerstring

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

Returns:

ChainOfThoughtEventBuilder

Returns the current instance of ChainOfThoughtEventBuilder .