Interface IAssistItem
Defines properties that can be used to customize the UI of the SfAIAssistView items.
Namespace: Syncfusion.Maui.AIAssistView
Assembly: Syncfusion.Maui.AIAssistView.dll
Syntax
public interface IAssistItem
Properties
Data
Gets or sets the data object of this assist item, which is used to store the original data associated with the item for removing the item when used Item Source.
Declaration
object Data { get; set; }
Property Value
Type |
---|
System.Object |
DateTime
Gets or sets the date and time details when the item was created.
Declaration
DateTime DateTime { get; set; }
Property Value
Type |
---|
System.DateTime |
ErrorMessage
Gets or sets the error message text associated with the assist item.
Declaration
string ErrorMessage { get; set; }
Property Value
Type |
---|
System.String |
IsLiked
Gets or sets the rating associated with the request item.
Declaration
Nullable<bool> IsLiked { get; set; }
Property Value
Type |
---|
System.Nullable<System.Boolean> |
Remarks
This property is meant for internal purposes only and should not be handled in application. Upon implementing the interface only add a getter and setter for the property without any other code logic implementation.
IsRequested
Gets or sets a value indicating whether the item is a request or a response.
Declaration
bool IsRequested { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Profile
Gets or sets the Profile details of the assist item.
Declaration
Profile Profile { get; set; }
Property Value
Type |
---|
Profile |
RequestItem
Gets or sets the data associated with the request item.
Declaration
object RequestItem { get; set; }
Property Value
Type |
---|
System.Object |
ShowAssistItemFooter
Gets or sets a value indicating whether the Copy, Retry, and Rating actions in response item's footer should be displayed.
Declaration
bool ShowAssistItemFooter { get; set; }
Property Value
Type |
---|
System.Boolean |
Suggestion
Gets or sets the list of AssistSuggestion to be displayed as a response to a request.
Declaration
AssistItemSuggestion Suggestion { get; set; }
Property Value
Type |
---|
AssistItemSuggestion |
Text
Gets or sets the text of the assist item.
Declaration
string Text { get; set; }
Property Value
Type |
---|
System.String |