Class CommandItemSelectEventArgs
Provides data for the event that occurs when a command item is selected in the SfInlineAIAssist component.
Inherited Members
Namespace: Syncfusion.Blazor.InteractiveChat
Assembly: Syncfusion.Blazor.InteractiveChat.dll
Syntax
public class CommandItemSelectEventArgs
Constructors
CommandItemSelectEventArgs()
Declaration
public CommandItemSelectEventArgs()
Properties
Cancel
Gets or sets a value indicating whether the command 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 CommandItem from being processed by the SfInlineAIAssist component.
Command
Gets or sets the command item selected by the user in the SfInlineAIAssist component.
Declaration
public CommandItem Command { get; set; }
Property Value
| Type | Description |
|---|---|
| CommandItem | A CommandItem representing the command item chosen by the user. The default value is null. |
Remarks
Use this property to retrieve the details of the selected CommandItem in command popup.