Class AssistViewToolbarItemClickedEventArgs
Provides data for the event when a command item is clicked in the AI Assist.
Inheritance
Namespace: Syncfusion.Blazor.InteractiveChat
Assembly: Syncfusion.Blazor.dll
Syntax
public class AssistViewToolbarItemClickedEventArgs : Object
Constructors
AssistViewToolbarItemClickedEventArgs()
Declaration
public AssistViewToolbarItemClickedEventArgs()
Properties
Cancel
Gets or sets a value indicating whether the item click action should be cancelled or not.
Declaration
public bool Cancel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | A boolean value indicating whether the item click action should be cancelled. The default is |
Remarks
This property can be used to cancel the toolbar item click action in the SfAIAssistView component.
DataIndex
Gets the index of the item in the SfAIAssistView component.
Declaration
public int DataIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | The index of the item. The default is |
Event
Gets the mouse event informations.
Declaration
public MouseEventArgs Event { get; set; }
Property Value
Type | Description |
---|---|
Microsoft.AspNetCore.Components.Web.MouseEventArgs | A Microsoft.AspNetCore.Components.Web.MouseEventArgs object representing the mouse event information associated with the event. |
Item
Gets or sets the toolbar item associated with the item click in the SfAIAssistView component.
Declaration
public AssistViewToolbarItem Item { get; set; }
Property Value
Type | Description |
---|---|
AssistViewToolbarItem | The toolbar item associated with the item click. |
Remarks
This property representing the item associated with the toolbar item in the SfAIAssistView component.