Class SuggestionItemSelectedEventArgs
Provides data for the SuggestionItemSelected event.
Inheritance
System.Object
SuggestionItemSelectedEventArgs
Namespace: Syncfusion.Maui.AIAssistView
Assembly: Syncfusion.Maui.AIAssistView.dll
Syntax
public class SuggestionItemSelectedEventArgs : EventArgs
Constructors
SuggestionItemSelectedEventArgs(Object, IAssistItem, Boolean)
Initializes a new instance of the SuggestionItemSelectedEventArgs class.
Declaration
public SuggestionItemSelectedEventArgs(object selectedItem, IAssistItem requestItem, bool cancelRequest)
Parameters
Type | Name | Description |
---|---|---|
System.Object | selectedItem | Instance of selected suggestion item. |
IAssistItem | requestItem | Instance of corresponding AssistItem. |
System.Boolean | cancelRequest | Value of CancelRequest property. |
Properties
CancelRequest
Gets or sets a value indicating whether the selected suggestion should be sent automatically or not. The default value is false.
Declaration
public bool CancelRequest { get; set; }
Property Value
Type |
---|
System.Boolean |
RequestItem
Gets the request item associated with the selected suggestion.
Declaration
public IAssistItem RequestItem { get; }
Property Value
Type |
---|
IAssistItem |
SelectedItem
Gets the selected suggestion item.
Declaration
public object SelectedItem { get; }
Property Value
Type |
---|
System.Object |