Class ResponseItemSelectEventArgs
Provides data for the event that occurs when a response action item is selected in the SfInlineAIAssist component.
Inherited Members
Namespace: Syncfusion.Blazor.InteractiveChat
Assembly: Syncfusion.Blazor.InteractiveChat.dll
Syntax
public class ResponseItemSelectEventArgs
Constructors
ResponseItemSelectEventArgs()
Declaration
public ResponseItemSelectEventArgs()
Properties
Cancel
Gets or sets a value indicating whether the response item selection should be canceled.
Declaration
public bool Cancel { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | A bool indicating whether to cancel the selection. The default value is false. |
Remarks
Set this property to true within the event handler to prevent the selected ResponseItem from being processed by the SfInlineAIAssist component.
Item
Gets or sets the response action item selected by the user in the SfInlineAIAssist component.
Declaration
public ResponseItem Item { get; set; }
Property Value
| Type | Description |
|---|---|
| ResponseItem | A ResponseItem representing the response action item chosen by the user. The default value is null. |
Remarks
Use this property to retrieve the details of the selected ResponseItem in the response popup.