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

Represents message type that displays a list of values.

Definition

Constructors

Initializes a new instance of the ListMessage class.

C#
public ListMessage(MessageDisplayPosition displayPosition, Author author, IEnumerable source, DateTime creationDate = default)
Parameters:displayPositionMessageDisplayPositionauthorAuthorsourceIEnumerablecreationDateDateTime

Initializes a new instance of the ListMessage class.

C#
public ListMessage(MessageDisplayPosition displayPosition, Author author, IEnumerable source, SelectionMode selectionMode, DateTime creationDate = default)
Parameters:displayPositionMessageDisplayPositionauthorAuthorsourceIEnumerableselectionModeSelectionModecreationDateDateTime

Properties

Gets or sets the display member path for visualizing the items' content.

C#
public string DisplayMemberPath { get; set; }

Gets the InlineViewModel.

C#
public InlineViewModel InlineViewModel { get; }

Implements: IInlineMessage.InlineViewModel

ItemTemplate

DataTemplate

Gets or sets the item template of the underlying ItemsControl.

C#
public DataTemplate ItemTemplate { get; set; }

Gets the OverlayViewModel.

C#
public OverlayViewModel OverlayViewModel { get; }

Implements: IOverlayMessage.OverlayViewModel

Gets the PopupViewModel.

C#
public PopupViewModel PopupViewModel { get; }

Implements: IPopupMessage.PopupViewModel

Gets or sets the index of the item that is currently selected in the list.

C#
public int SelectedIndex { get; set; }

Gets or sets the item that is currently selected in the list.

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

Gets or sets the command that is executed as soon as change in selection takes place.

C#
public ICommand SelectionChangedCommand { get; set; }

SelectionMode

SelectionMode

Gets or sets the selection mode of the underlying multi-selector control.

C#
public SelectionMode SelectionMode { get; set; }

Gets or sets the list's data source.

C#
public IEnumerable Source { get; set; }