Class SuggestionItemSelectedEventArgs
Provides data for the SuggestionItemSelected event.
Inheritance
System.Object
SuggestionItemSelectedEventArgs
Namespace: Syncfusion.Maui.Chat
Assembly: Syncfusion.Maui.Chat.dll
Syntax
public class SuggestionItemSelectedEventArgs : Object
Constructors
SuggestionItemSelectedEventArgs()
Declaration
public SuggestionItemSelectedEventArgs()
Properties
CancelSendMessage
Gets or sets a value indicating whether the selected suggestion should be sent automatically or not. The default value is false.
Declaration
public bool CancelSendMessage { get; set; }
Property Value
Type |
---|
System.Boolean |
HideAfterSelection
Gets or sets a value indicating whether the suggestions control should be shown or collapsed after an item is selected from the list of suggestions. The default value is true.
Declaration
public bool HideAfterSelection { get; set; }
Property Value
Type |
---|
System.Boolean |
Message
Gets the instance of the current message for which suggestions was shown.
Declaration
public MessageBase Message { get; }
Property Value
Type |
---|
MessageBase |
SelectedItem
Gets the item that was selected from the suggestion control.
Declaration
public object SelectedItem { get; }
Property Value
Type |
---|
System.Object |
SuggestionType
Gets a value that indicates whether the selected item is from an inline suggestion box or from an outline suggestion.
Declaration
public SuggestionType SuggestionType { get; }
Property Value
Type |
---|
SuggestionType |