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

Kendo UI ChainOfThoughtThought TagHelper

Definition

Namespace:Kendo.Mvc.TagHelpers

Assembly:Kendo.Mvc.dll

Syntax:

C#
[HtmlTargetElement("thought", ParentTag = "thoughts", TagStructure = TagStructure.NormalOrSelfClosing)]
[RestrictChildren("svg-icon", new string[] { })]
[SuppressTagRendering]
public class ChainOfThoughtThoughtTagHelper : TagHelperCollectionItemBase, ITagHelper, ITagHelperComponent

Inheritance: objectTagHelperTagHelperChildBaseTagHelperCollectionItemBaseChainOfThoughtThoughtTagHelper

Implements: ITagHelperITagHelperComponent

Inherited Members TagHelperChildBase.AddSelfToContext(TagHelperContext)TagHelperChildBase.CreateHandler(string)TagHelperChildBase.IdPrefixTagHelper.Process(TagHelperContext, TagHelperOutput)TagHelper.Orderobject.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Child Tagssvg-icon

Constructors

Initializes a new instance of the ChainOfThoughtThoughtTagHelper class.

C#
public ChainOfThoughtThoughtTagHelper()

Properties

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

C#
public bool? Completed { get; set; }

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 string Content { get; set; }

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 bool? Encoded { get; set; }

The primary label text for the thought item.

C#
public string Label { get; set; }

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

C#
public double? LinesAdded { get; set; }

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

C#
public double? LinesRemoved { get; set; }

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

C#
public string SecondaryLabel { get; set; }

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#
[HtmlAttributeName("svg-icon")]
public string SvgIcon { get; set; }

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

C#
public string Time { get; set; }

Methods

Adds the current instance to the parent TagHelper, if applicable.

C#
protected override void AddSelfToParent(TagHelperContext context)
Parameters:contextTagHelperContext

Overrides: TagHelperChildBase.AddSelfToParent(TagHelperContext)

C#
public override void Init(TagHelperContext context)
Parameters:contextTagHelperContext

Overrides: TagHelperChildBase.Init(TagHelperContext)

C#
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Parameters:contextTagHelperContextoutputTagHelperOutputReturns:

Task

Overrides: TagHelperChildBase.ProcessAsync(TagHelperContext, TagHelperOutput)

Serializes the defined settings.

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>