alexa
Syncfusion
menu Syncfusion

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class Suggestion

    Represents a class which contains the information about an individual suggestion item in the suggestions collecton in a message.

    Inheritance
    object
    Suggestion
    Implements
    ISuggestion
    Namespace: Syncfusion.Maui.Chat
    Assembly: Syncfusion.Maui.Chat.dll
    Syntax
    public class Suggestion : BindableObject, ISuggestion

    Constructors

    Suggestion()

    Initializes a new instance of the Suggestion class.

    Declaration
    public Suggestion()

    Suggestion(string, ImageSource)

    Initializes a new instance of the Suggestion class.

    Declaration
    public Suggestion(string text, ImageSource image)
    Parameters
    Type Name Description
    string text

    The text to be displayed as a suggestion.

    ImageSource image

    The image to be displayed along with the suggestion text.

    Fields

    ImageProperty

    Identifies the Image Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty ImageProperty
    Field Value
    Type
    BindableProperty

    TextProperty

    Identifies the Name Microsoft.Maui.Controls.BindableProperty.

    Declaration
    public static readonly BindableProperty TextProperty
    Field Value
    Type
    BindableProperty

    Properties

    Image

    Gets or sets the image of a suggestion item.

    Declaration
    public ImageSource Image { get; set; }
    Property Value
    Type
    ImageSource

    Text

    Gets or sets the text of a suggestion item.

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

    Implements

    ISuggestion
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved