menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class AssistItem - MAUI API Reference | Syncfusion

    Show / Hide Table of Contents

    Class AssistItem

    Represents the AssistItem class which contains properties that can be used to customize the UI of the SfAIAssistView items.

    Inheritance
    System.Object
    AssistItem
    AssistCardItem
    AssistHyperlinkItem
    AssistImageItem
    Implements
    IAssistItem
    Namespace: Syncfusion.Maui.AIAssistView
    Assembly: Syncfusion.Maui.AIAssistView.dll
    Syntax
    public class AssistItem : BindableObject, IAssistItem

    Constructors

    AssistItem()

    Declaration
    public AssistItem()

    Fields

    DataProperty

    Identifies the Data Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty DataProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    DateTimeProperty

    Identifies the DateTime Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty DateTimeProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    ErrorMessageProperty

    Identifies the ErrorMessage bindable property.

    Declaration
    public static readonly BindableProperty ErrorMessageProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    IsLikedProperty

    Identifies the IsLiked Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty IsLikedProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    IsRequestedProperty

    Identifies the IsRequested Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty IsRequestedProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    ProfileProperty

    Identifies the Profile Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty ProfileProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    RequestItemProperty

    Identifies the RequestItem Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty RequestItemProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    ShowAssistItemFooterProperty

    Identifies the ShowAssistItemFooter bindable property.

    Declaration
    public static readonly BindableProperty ShowAssistItemFooterProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty
    Remarks

    This bindable property is read-only.

    SuggestionProperty

    Identifies the Suggestions Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty SuggestionProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    TextProperty

    Identifies the Text Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty TextProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    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
    public object Data { get; set; }
    Property Value
    Type
    System.Object

    DateTime

    Gets or sets the date and time details when the item was created.

    Declaration
    public DateTime DateTime { get; set; }
    Property Value
    Type
    System.DateTime

    ErrorMessage

    Gets or sets the error message to display for this item.

    Declaration
    public string ErrorMessage { get; set; }
    Property Value
    Type
    System.String
    Remarks

    When set to a non-null/non-empty value, the error UI will be displayed. When set to null or empty, the error UI will be hidden.

    IsLiked

    Gets or sets the rating associated with the request item.

    Declaration
    public 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
    public bool IsRequested { get; set; }
    Property Value
    Type Description
    System.Boolean

    true if the item is a request; otherwise, false.

    Profile

    Gets or sets the Profile details of the assist item.

    Declaration
    public Profile Profile { get; set; }
    Property Value
    Type
    Profile

    RequestItem

    Gets or sets the data associated with the request item.

    Declaration
    public 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
    public 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
    public AssistItemSuggestion Suggestion { get; set; }
    Property Value
    Type
    AssistItemSuggestion

    Text

    Gets or sets the profile of the assist item.

    Declaration
    public string Text { get; set; }
    Property Value
    Type
    System.String

    Implements

    IAssistItem
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved