Adapts a ChatCarouselMessage for the chat view and retains its horizontal scroll position.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
C#
public class CarouselMessageDataItem : BaseChatDataItem, IDataItem, INotifyPropertyChanged
Inheritance: objectBaseChatDataItemCarouselMessageDataItem
Implements:
Inherited Members
Constructors
Initializes the item with the carousel message to display.
C#
public CarouselMessageDataItem(ChatCarouselMessage message)
The carousel message represented by this item.
Properties
Gets the typed carousel-message reference captured when this item was constructed.
C#
public ChatCarouselMessage CarouselMessage { get; }
Replacing the inherited Message property does not update this reference.
Gets or sets the carousel's horizontal scroll-bar position.
C#
public int ScrollOffset { get; set; }
The carousel visual saves this value when the scroll position changes and restores it when the item is synchronized.