ChatCarouselMessage
Represents a chat message containing a sequence of card data items displayed in a carousel. Changes to a card item are forwarded as a message property-change notification.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class ChatCarouselMessage : ChatMessage, INotifyPropertyChanged
Inheritance: objectChatMessageChatCarouselMessage
Implements:
Inherited Members
Constructors
Initializes a carousel message and subscribes to property changes on each supplied card item.
public ChatCarouselMessage(IEnumerable<BaseChatCardDataItem> cards, Author author, DateTime timeStamp, object userData)
The card data items displayed by the carousel.
authorAuthorThe message author.
timeStampDateTimeThe message timestamp.
userDataobjectApplication-defined data associated with the message.
Initializes a carousel message without message-level user data.
public ChatCarouselMessage(IEnumerable<BaseChatCardDataItem> cards, Author author, DateTime timeStamp)
The card data items displayed by the carousel.
authorAuthorThe message author.
timeStampDateTimeThe message timestamp.
Properties
Cards
IEnumerable<BaseChatCardDataItem>
Gets the card data items displayed by the carousel.
public IEnumerable<BaseChatCardDataItem> Cards { get; }
Gets or sets whether the carousel displays its horizontal scrollbar; the initial value is false.
public bool ShowScrollBar { get; set; }