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

Defines the fluent API for configuring ChainOfThoughtThought

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class ChainOfThoughtThoughtBuilder

Inheritance: objectChainOfThoughtThoughtBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initializes a new instance of the ChainOfThoughtThoughtBuilder class.

C#
public ChainOfThoughtThoughtBuilder(ChainOfThoughtThought container)
Parameters:containerChainOfThoughtThought

Properties

Gets the settings being configured.

C#
protected ChainOfThoughtThought Container { get; }

Methods

Marks the individual thought item as completed by applying the k-thought-completed CSS class.

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

The value for Completed

Returns:

ChainOfThoughtThoughtBuilder

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.

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

The value for Content

Returns:

ChainOfThoughtThoughtBuilder

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.

C#
public ChainOfThoughtThoughtBuilder Encoded(bool value)
Parameters:valuebool

The value for Encoded

Returns:

ChainOfThoughtThoughtBuilder

Returns the current ChainOfThoughtThoughtBuilder instance.

The primary label text for the thought item.

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

The value for Label

Returns:

ChainOfThoughtThoughtBuilder

Returns the current ChainOfThoughtThoughtBuilder instance.

The number of lines added, displayed as a green delta badge on the thought item.

C#
public ChainOfThoughtThoughtBuilder LinesAdded(double value)
Parameters:valuedouble

The value for LinesAdded

Returns:

ChainOfThoughtThoughtBuilder

Returns the current ChainOfThoughtThoughtBuilder instance.

The number of lines removed, displayed as a red delta badge on the thought item.

C#
public ChainOfThoughtThoughtBuilder LinesRemoved(double value)
Parameters:valuedouble

The value for LinesRemoved

Returns:

ChainOfThoughtThoughtBuilder

Returns the current ChainOfThoughtThoughtBuilder instance.

A secondary label displayed after the separator in the thought item.

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

The value for SecondaryLabel

Returns:

ChainOfThoughtThoughtBuilder

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.

C#
public ChainOfThoughtThoughtBuilder SvgIcon(Action<ChainOfThoughtThoughtSvgIconSettingsBuilder> configurator)
Parameters:configuratorAction<ChainOfThoughtThoughtSvgIconSettingsBuilder>

The ChainOfThoughtThoughtSvgIconSettingsBuilder for the svgicon setting.

Returns:

ChainOfThoughtThoughtBuilder

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.

C#
public ChainOfThoughtThoughtBuilder SvgIcon(string svgIcon)
Parameters:svgIconstring

The svgicon.

Returns:

ChainOfThoughtThoughtBuilder

Returns the current instance of ChainOfThoughtThoughtBuilder .

A time or duration string displayed after a separator in the thought item.

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

The value for Time

Returns:

ChainOfThoughtThoughtBuilder

Returns the current ChainOfThoughtThoughtBuilder instance.