ClassCarouselMessage
Represents a message that displays a list of rich content elements.
Definition
Namespace:Telerik.Windows.Controls.ConversationalUI
Assembly:Telerik.Windows.Controls.ConversationalUI.dll
Syntax:
public class CarouselMessage : MessageBase, IReportMessageResult, INotifyPropertyChanged, IOverlayMessage, IInlineMessage
Inheritance: objectMessageBaseCarouselMessage
Implements:
Inherited Members
Constructors
CarouselMessage(MessageDisplayPosition, Author, IEnumerable<object>, DateTime)
Initializes a new instance of the CarouselMessage class.
Declaration
public CarouselMessage(MessageDisplayPosition displayPosition, Author author, IEnumerable<object> source, DateTime creationDate = default)
Parameters
displayPosition
author
source
creationDate
Properties
CarouselHeight
Gets or sets the underlying carousel control's height.
InlineViewModel
Gets the InlineViewModel.
Declaration
public InlineViewModel InlineViewModel { get; }
Property Value
Implements
LastReportItem
Gets the child message that was last to report message result.
Declaration
[ReportResult(true)]
public MessageBase LastReportItem { get; }
Property Value
LoadedCommand
Gets or sets a command that is invoked on RadCarousel.Loaded.
OverlayViewModel
Gets the OverlayViewModel.
Declaration
public OverlayViewModel OverlayViewModel { get; }
Property Value
Implements
SelectedItem
Gets or sets the selected item.
Declaration
[ReportResult]
public object SelectedItem { get; set; }
Property Value
Source
Gets or sets the Carousel's data source.
Methods
SubscribeToMessageResult(Action<object, MessageResultEventArgs>)
Subscribes to ReportViewModel.ReportMessageResult event.
Declaration
protected override void SubscribeToMessageResult(Action<object, MessageResultEventArgs> callBack)
Parameters
callBack
Overrides