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