Defines the fluent API for configuring the Kendo ChainOfThought for ASP.NET MVC.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ChainOfThoughtBuilder : WidgetBuilderBase<ChainOfThought, ChainOfThoughtBuilder>, IHtmlString
Inheritance: objectWidgetBuilderBase<ChainOfThought, ChainOfThoughtBuilder>ChainOfThoughtBuilder
Implements:
Inherited Members
Constructors
Initializes a new instance of the ChainOfThought class.
public ChainOfThoughtBuilder(ChainOfThought component)
The component.
Methods
Marks the step as completed, applying the k-agent-completed CSS class to the element.
public ChainOfThoughtBuilder Completed(bool value)
The value that configures the completed.
Returns:Configures the client-side events.
public ChainOfThoughtBuilder Events(Action<ChainOfThoughtEventBuilder> configurator)
The client events action.
Returns:Enables toggling the visibility of the thoughts body by clicking the header or using the keyboard.
public ChainOfThoughtBuilder Expandable(bool value)
The value that configures the expandable.
Returns:Controls whether the thoughts body is visible when the widget initializes.
public ChainOfThoughtBuilder Expanded(bool value)
The value that configures the expanded.
Returns:The primary text label displayed in the step header.
public ChainOfThoughtBuilder Label(string value)
The value that configures the label.
Returns:The number of lines added, displayed as a green delta badge in the step header.
public ChainOfThoughtBuilder LinesAdded(double value)
The value that configures the linesadded.
Returns:The number of lines removed, displayed as a red delta badge in the step header.
public ChainOfThoughtBuilder LinesRemoved(double value)
The value that configures the linesremoved.
Returns:A secondary text label displayed after the separator in the step header.
public ChainOfThoughtBuilder SecondaryLabel(string value)
The value that configures the secondarylabel.
Returns:The name of the SVG icon displayed in the step header.
public ChainOfThoughtBuilder SvgIcon(string value)
The value that configures the svgicon.
Returns:An array of thought objects rendered inside the step body. Each item can include label, secondaryLabel, svgIcon, linesAdded, linesRemoved, time, children, and completed properties.
public ChainOfThoughtBuilder Thoughts(Action<ChainOfThoughtThoughtFactory> configurator)
The action that configures the thoughts.
Returns:A function used to render each thought item. Receives each item from the thoughts array as the first argument and must return an HTML string.
public ChainOfThoughtBuilder ThoughtTemplate<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the thoughttemplate.
Returns:A function used to render each thought item. Receives each item from the thoughts array as the first argument and must return an HTML string.
public ChainOfThoughtBuilder ThoughtTemplateHandler(string value)
The value that configures the thoughttemplate.
Returns: