Class
CarouselMessage

Represents a message that displays a list of rich content elements.

Definition

Constructors

CarouselMessage(MessageDisplayPosition, Author, IEnumerable<object>, DateTime)

Initializes a new instance of the CarouselMessage class.

Declaration

cs-api-definition
public CarouselMessage(MessageDisplayPosition displayPosition, Author author, IEnumerable<object> source, DateTime creationDate = default)

Parameters

displayPosition

MessageDisplayPosition

author

Author

source

IEnumerable<object>

creationDate

DateTime

Properties

CarouselHeight

Gets or sets the underlying carousel control's height.

Declaration

cs-api-definition
public double CarouselHeight { get; set; }

Property Value

double

InlineViewModel

Gets the InlineViewModel.

Declaration

cs-api-definition
public InlineViewModel InlineViewModel { get; }

Property Value

InlineViewModel

Implements IInlineMessage.InlineViewModel

LastReportItem

Gets the child message that was last to report message result.

Declaration

cs-api-definition
[ReportResult(true)]
public MessageBase LastReportItem { get; }

Property Value

MessageBase

LoadedCommand

Gets or sets a command that is invoked on RadCarousel.Loaded.

Declaration

cs-api-definition
public ICommand LoadedCommand { get; set; }

Property Value

ICommand

OverlayViewModel

Gets the OverlayViewModel.

Declaration

cs-api-definition
public OverlayViewModel OverlayViewModel { get; }

Property Value

OverlayViewModel

Implements IOverlayMessage.OverlayViewModel

SelectedItem

Gets or sets the selected item.

Declaration

cs-api-definition
[ReportResult]
public object SelectedItem { get; set; }

Property Value

object

Source

Gets or sets the Carousel's data source.

Declaration

cs-api-definition
public IEnumerable Source { get; set; }

Property Value

IEnumerable

Methods

SubscribeToMessageResult(Action<object, MessageResultEventArgs>)

Subscribes to ReportViewModel.ReportMessageResult event.

Declaration

cs-api-definition
protected override void SubscribeToMessageResult(Action<object, MessageResultEventArgs> callBack)

Parameters

callBack

Action<object, MessageResultEventArgs>

Overrides MessageBase.SubscribeToMessageResult(Action<object, MessageResultEventArgs>)