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

Defines the fluent API for configuring the Kendo Reasoning for ASP.NET MVC.

Definition

Constructors

Initializes a new instance of the Reasoning class.

C#
public ReasoningBuilder(Reasoning component)
Parameters:componentReasoning

The component.

Methods

Marks the reasoning step as completed, applying the k-agent-completed CSS class to the element.

C#
public ReasoningBuilder Completed(bool value)
Parameters:valuebool

The value that configures the completed.

Returns:

ReasoningBuilder

Plain text content rendered inside the step body.

C#
public ReasoningBuilder Content(string value)
Parameters:valuestring

The value that configures the content.

Returns:

ReasoningBuilder

A function used to render the content body. Called with an empty object and must return an HTML string.

C#
public ReasoningBuilder ContentTemplate<TModel>(TemplateBuilder<TModel> template)
Parameters:templateTemplateBuilder<TModel>

A Template component that configures the contenttemplate.

Returns:

ReasoningBuilder

A function used to render the content body. Called with an empty object and must return an HTML string.

C#
public ReasoningBuilder ContentTemplateHandler(string value)
Parameters:valuestring

The value that configures the contenttemplate.

Returns:

ReasoningBuilder

Configures the client-side events.

C#
public ReasoningBuilder Events(Action<ReasoningEventBuilder> configurator)
Parameters:configuratorAction<ReasoningEventBuilder>

The client events action.

Returns:

ReasoningBuilder

Example:
C#
@(Html.Kendo().Reasoning()
.Name("Reasoning")
.Events(events =&gt; events
.ExpandedChange("onExpandedChange")
)
)

Enables toggling the visibility of the content body by clicking the header or using the keyboard.

C#
public ReasoningBuilder Expandable(bool value)
Parameters:valuebool

The value that configures the expandable.

Returns:

ReasoningBuilder

Controls whether the content body is visible when the widget initializes.

C#
public ReasoningBuilder Expanded(bool value)
Parameters:valuebool

The value that configures the expanded.

Returns:

ReasoningBuilder

The primary text label displayed in the step header.

C#
public ReasoningBuilder Label(string value)
Parameters:valuestring

The value that configures the label.

Returns:

ReasoningBuilder

A secondary text label displayed after the separator in the step header.

C#
public ReasoningBuilder SecondaryLabel(string value)
Parameters:valuestring

The value that configures the secondarylabel.

Returns:

ReasoningBuilder

The name of the SVG icon displayed in the step header.

C#
public ReasoningBuilder SvgIcon(string value)
Parameters:valuestring

The value that configures the svgicon.

Returns:

ReasoningBuilder

A time or duration string displayed after a separator in the step header.

C#
public ReasoningBuilder Time(string value)
Parameters:valuestring

The value that configures the time.

Returns:

ReasoningBuilder