Defines the fluent API for configuring ChainOfThoughtThought
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ChainOfThoughtThoughtBuilder
Inheritance: objectChainOfThoughtThoughtBuilder
Inherited Members
Constructors
Initializes a new instance of the ChainOfThoughtThoughtBuilder class.
public ChainOfThoughtThoughtBuilder(ChainOfThoughtThought container)
Properties
Gets the settings being configured.
protected ChainOfThoughtThought Container { get; }
Methods
Marks the individual thought item as completed by applying the k-thought-completed CSS class.
public ChainOfThoughtThoughtBuilder Completed(bool value)
The value for Completed
Returns:Returns the current ChainOfThoughtThoughtBuilder instance.
Content rendered as a nested body inside the thought item. HTML-encoded by default; set thoughts.encoded to false to render it as raw HTML.
public ChainOfThoughtThoughtBuilder Content(string value)
The value for Content
Returns:Returns the current ChainOfThoughtThoughtBuilder instance.
Controls whether thoughts.content is HTML-encoded before it is rendered. Set to false to render thoughts.content as raw HTML for trusted content.
public ChainOfThoughtThoughtBuilder Encoded(bool value)
The value for Encoded
Returns:Returns the current ChainOfThoughtThoughtBuilder instance.
The primary label text for the thought item.
public ChainOfThoughtThoughtBuilder Label(string value)
The value for Label
Returns:Returns the current ChainOfThoughtThoughtBuilder instance.
The number of lines added, displayed as a green delta badge on the thought item.
public ChainOfThoughtThoughtBuilder LinesAdded(double value)
The value for LinesAdded
Returns:Returns the current ChainOfThoughtThoughtBuilder instance.
The number of lines removed, displayed as a red delta badge on the thought item.
public ChainOfThoughtThoughtBuilder LinesRemoved(double value)
The value for LinesRemoved
Returns:Returns the current ChainOfThoughtThoughtBuilder instance.
A secondary label displayed after the separator in the thought item.
public ChainOfThoughtThoughtBuilder SecondaryLabel(string value)
The value for SecondaryLabel
Returns:Returns the current ChainOfThoughtThoughtBuilder instance.
The name of the SVG icon displayed for the thought item.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.
public ChainOfThoughtThoughtBuilder SvgIcon(Action<ChainOfThoughtThoughtSvgIconSettingsBuilder> configurator)
The ChainOfThoughtThoughtSvgIconSettingsBuilder for the svgicon setting.
Returns:Returns the current instance of ChainOfThoughtThoughtBuilder .
The name of the SVG icon displayed for the thought item.Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.
public ChainOfThoughtThoughtBuilder SvgIcon(string svgIcon)
The svgicon.
Returns:Returns the current instance of ChainOfThoughtThoughtBuilder .
A time or duration string displayed after a separator in the thought item.
public ChainOfThoughtThoughtBuilder Time(string value)
The value for Time
Returns:Returns the current ChainOfThoughtThoughtBuilder instance.