Class PromptItemTemplateContext
Inheritance
System.Object
PromptItemTemplateContext
Namespace: Syncfusion.Blazor.InteractiveChat
Assembly: Syncfusion.Blazor.dll
Syntax
public class PromptItemTemplateContext : Object
Constructors
PromptItemTemplateContext()
Declaration
public PromptItemTemplateContext()
Properties
Index
Gets the index of the prompt item in the SfAIAssistView component.
Declaration
public int Index { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The index of the prompt item. The default is |
Remarks
This property specifies the index for the prompt item in the AssistViewPrompt in the SfAIAssistView component.
Prompt
Gets the text of the prompt in the SfAIAssistView component.
Declaration
public string Prompt { get; set; }
Property Value
Type | Description |
---|---|
System.String | The text of the prompt. The default is |
Remarks
This property specifies the text for the AssistViewPrompt in the SfAIAssistView component.
ToolbarItems
Gets the collection of toolbar items for the prompt in the SfAIAssistView component.
Declaration
public List<AssistViewToolbarItem> ToolbarItems { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<AssistViewToolbarItem> | A list of AssistViewToolbarItem representing the toolbar items for the prompt. The default is |
Remarks
This property holds the collection of toolbar items for the prompt of the AssistViewPrompt component.