menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PromptItemTemplateContext - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    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

    AttachedFiles

    Gets or sets the list of files associated with this prompt context in the SfAIAssistView component.

    Declaration
    public List<FileInfo> AttachedFiles { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<FileInfo>

    A list of FileInfo instances representing the files attached to the prompt within this template context.

    Remarks

    This property provides file details for the template context, essential for displaying file information or handling file-specific logic within the prompt.

    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 -1.

    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 String.Empty.

    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 null.

    Remarks

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

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