TextMessageDataItem
Adapts a ChatTextMessage for the chat view and exposes its attachment and reply data.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class TextMessageDataItem : BaseChatDataItem, IDataItem, INotifyPropertyChanged
Inheritance: objectBaseChatDataItemTextMessageDataItem
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes the item with the text message whose attachment and reply data it exposes.
public TextMessageDataItem(ChatTextMessage message)
The text message represented by this item.
Properties
Gets the file attachments associated with this message.
public IList<PromptInputAttachedFile> Attachments { get; }
Gets a value indicating whether this message has any attachments.
public bool HasAttachments { get; }
Gets a value indicating whether this message is a reply to one or more messages.
public bool IsReply { get; }
ReplyToMessages
IList<ChatMessage>
Gets the messages that this message is replying to.
public IList<ChatMessage> ReplyToMessages { get; }
Gets the typed text-message reference captured when this item was constructed.
public ChatTextMessage TextMessage { get; }
Replacing the inherited Message property does not update this reference.