New to Telerik UI for WPFStart a free 30-day trial

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

Definition

Constructors

Initializes a new instance of the CarouselMessage class.

C#
public CarouselMessage(MessageDisplayPosition displayPosition, Author author, IEnumerable<object> source, DateTime creationDate = default)
Parameters:displayPositionMessageDisplayPositionauthorAuthorsourceIEnumerable<object>creationDateDateTime

Properties

Gets or sets the underlying carousel control's height.

C#
public double CarouselHeight { get; set; }

Gets the InlineViewModel.

C#
public InlineViewModel InlineViewModel { get; }

Implements: IInlineMessage.InlineViewModel

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

C#
[ReportResult(true)]
public MessageBase LastReportItem { get; }

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

C#
public ICommand LoadedCommand { get; set; }

Gets the OverlayViewModel.

C#
public OverlayViewModel OverlayViewModel { get; }

Implements: IOverlayMessage.OverlayViewModel

Gets or sets the selected item.

C#
[ReportResult]
public object SelectedItem { get; set; }

Gets or sets the Carousel's data source.

C#
public IEnumerable Source { get; set; }

Methods

Subscribes to ReportViewModel.ReportMessageResult event.

C#
protected override void SubscribeToMessageResult(Action<object, MessageResultEventArgs> callBack)
Parameters:callBackAction<object, MessageResultEventArgs>

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