menu

Blazor

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

    Show / Hide Table of Contents

    Class AssistViewPromptRequestedEventArgs

    Provides data for the prompt request event in the SfAIAssistView component.

    Inheritance
    System.Object
    AssistViewPromptRequestedEventArgs
    Namespace: Syncfusion.Blazor.InteractiveChat
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class AssistViewPromptRequestedEventArgs : Object
    Remarks

    This class contains information about the prompt request within the SfAIAssistView component. It provides access to the prompt details and any additional data associated with the request.

    Constructors

    AssistViewPromptRequestedEventArgs()

    Declaration
    public AssistViewPromptRequestedEventArgs()

    Properties

    Cancel

    Gets or sets a value indicating whether the prompt request should be cancelled.

    Declaration
    public bool Cancel { get; set; }
    Property Value
    Type Description
    System.Boolean

    A boolean value indicating whether the prompt request should be cancelled. The default is null.

    Remarks

    This property can be used to cancel the prompt request in the SfAIAssistView component.

    Prompt

    Gets or sets the text of the prompt request.

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

    The text of the prompt request. The default is null.

    Remarks

    This property specifies the text for the prompt request in the SfAIAssistView component.

    PromptSuggestions

    Gets or sets the list of prompt suggestions.

    Declaration
    public List<string> PromptSuggestions { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<System.String>

    A list of strings representing the prompt suggestions. The default is an empty list.

    Remarks

    This property contains the suggestions that can be used as prompts in the SfAIAssistView component.

    Response

    Gets or sets the response of the prompt request.

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

    The response of the prompt request. The default is null.

    Remarks

    This property holds the response of the prompt request in the SfAIAssistView component.

    ResponseToolbarItems

    Gets or sets the toolbar items for the response view item.

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

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

    Remarks

    This property defines the toolbar items used in the response view of the SfAIAssistView component.

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