Interface ISuggestionSelectionBehavior
Defines the event that can be used to select a suggestion.
Namespace: Syncfusion.UI.Xaml.Chat
Assembly: Syncfusion.Chat.WinUI.dll
Syntax
public interface ISuggestionSelectionBehaviorMethods
Attach(Object)
Attaches a view element to which the selection behavior needs to be applied.
Declaration
void Attach(object obj)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | obj | The view element to attach. | 
Detach(Object)
Detaches a view element from which the selection behavior needs to be removed.
Declaration
void Detach(object obj)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | obj | The view element to detach. | 
Events
Selected
Event that occurs when a suggestion item is selected in the SfAIAssistView control.
Declaration
event EventHandler<SuggestionClickedEventArgs> SelectedEvent Type
| Type | 
|---|
| System.EventHandler<SuggestionClickedEventArgs> |