alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class ResponseItemTemplateContext

    Inheritance
    object
    ResponseItemTemplateContext
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.InteractiveChat
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class ResponseItemTemplateContext

    Constructors

    ResponseItemTemplateContext()

    Declaration
    public ResponseItemTemplateContext()

    Properties

    Index

    Gets the index of the response item.

    Declaration
    public int Index { get; set; }
    Property Value
    Type Description
    int

    The index of the response item. The default is -1 .

    Remarks

    This property specifies the index for the response item in the AssistViewPrompt component.

    Prompt

    Gets the text of the prompt in the SfAIAssistView component.

    Declaration
    public string Prompt { get; set; }
    Property Value
    Type Description
    string

    The text of the prompt. The default is String.Empty.

    Remarks

    This property specifies the text for the AssistViewPrompt in the SfAIAssistView component.

    Response

    Gets the response of the prompt in the SfAIAssistView component.

    Declaration
    public string Response { get; set; }
    Property Value
    Type Description
    string

    The output response of the prompt. The default is String.Empty.

    Remarks

    This property specifies the output response for the AssistViewPrompt in the SfAIAssistView component.

    ToolbarItems

    Gets the collection of toolbar items for the output.

    Declaration
    public List<AssistViewToolbarItem> ToolbarItems { get; set; }
    Property Value
    Type Description
    List<AssistViewToolbarItem>

    A list of AssistViewToolbarItem representing the toolbar items for the response. The default is null.

    Remarks

    This property holds the collection of toolbar items for the response of the AssistViewPrompt component.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved