menu

Blazor

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

    Show / Hide Table of Contents

    Class ResponseStoppedEventArgs

    Provides event data for the ResponseStopped event in the SfAIAssistView component.

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

    Constructors

    ResponseStoppedEventArgs()

    Declaration
    public ResponseStoppedEventArgs()

    Properties

    DataIndex

    Gets the index of the prompt data in the SfAIAssistView component.

    Declaration
    public int DataIndex { get; set; }
    Property Value
    Type Description
    System.Int32

    The zero-based index representing the position of the prompt in the component. Defaults to -1 if the index is not applicable.

    Remarks
    • This property helps track which prompt instance was active when "Stop Responding" was clicked.
    • If a response is dynamically appended to an existing prompt, this index helps reference the correct prompt.

    Prompt

    Gets the text of the prompt associated with the response being stopped.

    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 provides access to the original user prompt that triggered the AI response, allowing to manage stopped responses effectively.

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