ListMessage
Represents message type that displays a list of values.
Definition
Namespace:Telerik.Windows.Controls.ConversationalUI
Assembly:Telerik.Windows.Controls.ConversationalUI.dll
Syntax:
public class ListMessage : MessageBase, IReportMessageResult, INotifyPropertyChanged, IOverlayMessage, IInlineMessage, IPopupMessage
Inheritance: objectMessageBaseListMessage
Implements:
Inherited Members
Constructors
Initializes a new instance of the ListMessage class.
public ListMessage(MessageDisplayPosition displayPosition, Author author, IEnumerable source, DateTime creationDate = default)
Initializes a new instance of the ListMessage class.
public ListMessage(MessageDisplayPosition displayPosition, Author author, IEnumerable source, SelectionMode selectionMode, DateTime creationDate = default)
Properties
Gets or sets the display member path for visualizing the items' content.
public string DisplayMemberPath { get; set; }
Gets the InlineViewModel.
public InlineViewModel InlineViewModel { get; }
Implements:
ItemTemplate
DataTemplate
Gets or sets the item template of the underlying ItemsControl.
public DataTemplate ItemTemplate { get; set; }
Gets the OverlayViewModel.
public OverlayViewModel OverlayViewModel { get; }
Implements:
Gets the PopupViewModel.
public PopupViewModel PopupViewModel { get; }
Implements:
Gets or sets the index of the item that is currently selected in the list.
public int SelectedIndex { get; set; }
Gets or sets the item that is currently selected in the list.
[ReportResult]
public object SelectedItem { get; set; }
Gets or sets the command that is executed as soon as change in selection takes place.
public ICommand SelectionChangedCommand { get; set; }
SelectionMode
SelectionMode
Gets or sets the selection mode of the underlying multi-selector control.
public SelectionMode SelectionMode { get; set; }
Gets or sets the list's data source.
public IEnumerable Source { get; set; }