Class ResponseToolBarItemClickedEventArgs
Provides data for the response toolbar item clicked event.
Inheritance
System.Object
ResponseToolBarItemClickedEventArgs
Namespace: Syncfusion.WinForms.AIAssistView
Assembly: Syncfusion.SfAIAssistView.WinForms.dll
Syntax
public class ResponseToolBarItemClickedEventArgs : EventArgs
Constructors
ResponseToolBarItemClickedEventArgs(ResponseToolBarItem, TextMessage)
Initializes a new instance of the ResponseToolBarItemClickedEventArgs class.
Declaration
public ResponseToolBarItemClickedEventArgs(ResponseToolBarItem item, TextMessage chatItem)
Parameters
| Type | Name | Description |
|---|---|---|
| ResponseToolBarItem | item | The clicked toolbar item. |
| TextMessage | chatItem | The associated message. |
Properties
ChatItem
Gets the associated message model (bot chat support) for which the toolbar action was triggered.
Declaration
public TextMessage ChatItem { get; }
Property Value
| Type |
|---|
| TextMessage |
Handled
Gets or sets a value indicating whether the event was handled. If set to true, default internal actions (like copying to clipboard) will be bypassed.
Declaration
public bool Handled { get; set; }
Property Value
| Type |
|---|
| System.Boolean |
ToolBarItem
Gets the toolbar item that was clicked.
Declaration
public ResponseToolBarItem ToolBarItem { get; }
Property Value
| Type |
|---|
| ResponseToolBarItem |