Stores the image, descriptive text, and actions displayed by an image card in chat.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
C#
public class ChatImageCardDataItem : BaseChatCardDataItem, INotifyPropertyChanged
Inheritance: objectBaseChatCardDataItemChatImageCardDataItem
Implements:
Inherited Members
Constructors
Initializes the image and text content and the actions displayed by the card.
C#
public ChatImageCardDataItem(Image image, string title, string subtitle, string text, IEnumerable<ChatCardAction> actions, object userData)
The image displayed in the card.
titlestringThe card title.
subtitlestringThe secondary descriptive text.
textstringThe main text displayed below the subtitle.
actionsIEnumerable<ChatCardAction>The actions rendered as clickable rows.
userDataobjectApplication-defined data associated with the card.
Properties
Actions
IEnumerable<ChatCardAction>
Gets or sets the actions rendered as clickable rows below the card content. Replacing this sequence raises PropertyChanged.
C#
public IEnumerable<ChatCardAction> Actions { get; set; }
Gets or sets the main text displayed below the subtitle.
C#
public string Text { get; set; }