New to Telerik UI for WinForms? Start a free 30-day trial

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

Constructors

Initializes a carousel message and subscribes to property changes on each supplied card item.

C#
public ChatCarouselMessage(IEnumerable<BaseChatCardDataItem> cards, Author author, DateTime timeStamp, object userData)
Parameters:cardsIEnumerable<BaseChatCardDataItem>

The card data items displayed by the carousel.

authorAuthor

The message author.

timeStampDateTime

The message timestamp.

userDataobject

Application-defined data associated with the message.

Initializes a carousel message without message-level user data.

C#
public ChatCarouselMessage(IEnumerable<BaseChatCardDataItem> cards, Author author, DateTime timeStamp)
Parameters:cardsIEnumerable<BaseChatCardDataItem>

The card data items displayed by the carousel.

authorAuthor

The message author.

timeStampDateTime

The message timestamp.

Properties

Gets the card data items displayed by the carousel.

C#
public IEnumerable<BaseChatCardDataItem> Cards { get; }

Gets or sets whether the carousel displays its horizontal scrollbar; the initial value is false.

C#
public bool ShowScrollBar { get; set; }