Class Card
Represents a class which defines the properties that can be used to customize a card item in the CardMessage.
Inheritance
System.Object
Card
Implements
Namespace: Syncfusion.Maui.Chat
Assembly: Syncfusion.Maui.Chat.dll
Syntax
public class Card : BindableObject, ICard
Constructors
Card()
Initializes a new instance of the Card class.
Declaration
public Card()
Fields
ButtonsProperty
Identifies the Buttons Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty ButtonsProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
DescriptionProperty
Identifies the Description Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty DescriptionProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
ImageProperty
Identifies the Image Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty ImageProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
SubtitleProperty
Identifies the Subtitle Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty SubtitleProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
TitleProperty
Identifies the Title Microsoft.Maui.Controls.BindableProperty.
Declaration
public static readonly BindableProperty TitleProperty
Field Value
Type |
---|
Microsoft.Maui.Controls.BindableProperty |
Properties
Buttons
Gets or sets the list of buttons to be displayed at the bottom of the card.
Declaration
public IList<CardButton> Buttons { get; set; }
Property Value
Type |
---|
System.Collections.Generic.IList<CardButton> |
Description
Gets or sets the description of the card.
Declaration
public string Description { get; set; }
Property Value
Type |
---|
System.String |
Image
Gets or sets the image to be displayed in the card.
Declaration
public ImageSource Image { get; set; }
Property Value
Type |
---|
Microsoft.Maui.Controls.ImageSource |
Subtitle
Gets or sets the subtitle of the card.
Declaration
public string Subtitle { get; set; }
Property Value
Type |
---|
System.String |
Title
Gets or sets the title of the card.
Declaration
public string Title { get; set; }
Property Value
Type |
---|
System.String |