Kendo UI history TagHelper GridSmartBoxAiAssistantSettingsHistorySettingsTagHelper class.
Definition
Namespace:Kendo.Mvc.TagHelpers
Assembly:Kendo.Mvc.dll
Syntax:
C#
[HtmlTargetElement("history", ParentTag = "ai-assistant-settings", TagStructure = TagStructure.WithoutEndTag)]
[SuppressTagRendering]
public class GridSmartBoxAiAssistantSettingsHistorySettingsTagHelper : TagHelperChildBase, ITagHelper, ITagHelperComponent
Inheritance: objectTagHelperTagHelperChildBaseGridSmartBoxAiAssistantSettingsHistorySettingsTagHelper
Implements:
Inherited Members
Example:
csharp
@addTagHelper *, Kendo.Mvc
<kendo-grid name="grid">
<smart-box>
<ai-assistant-settings>
<history enabled="true" />
</ai-assistant-settings>
</smart-box>
</kendo-grid>
Constructors
Initializes a new instance of the GridSmartBoxAiAssistantSettingsHistorySettingsTagHelper class.
C#
public GridSmartBoxAiAssistantSettingsHistorySettingsTagHelper()
Properties
Specifies the maximum number of history queries that will be rendered in AI Assistant mode.
C#
public double? Size { get; set; }
Specifies the date format that is used to display the history queries timestamps in AI Assistant mode.
C#
public string TimestampFormat { get; set; }
Methods
Adds the current instance to the parent TagHelper, if applicable.
C#
protected override void AddSelfToParent(TagHelperContext context)
Overrides:
C#
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
Overrides:
Serializes the defined settings.