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