Class
ListMessage

Represents message type that displays a list of values.

Definition

Namespace:Telerik.Windows.Controls.ConversationalUI

Assembly:Telerik.Windows.Controls.ConversationalUI.dll

Syntax:

cs-api-definition
public class ListMessage : MessageBase, IReportMessageResult, INotifyPropertyChanged, IOverlayMessage, IInlineMessage, IPopupMessage

Inheritance: objectMessageBaseListMessage

Implements: IInlineMessageINotifyPropertyChangedIOverlayMessageIPopupMessageIReportMessageResult

Inherited Members MessageBase.SubscribeToMessageResult(Action<object, MessageResultEventArgs>)MessageBase.ValidateMessageDisplayPosition()MessageBase.OnPropertyChanged(string)MessageBase.ReportViewModelMessageBase.DisplayPositionMessageBase.MessageTypeMessageBase.AutoReportMessageBase.PostResultInlineMessageBase.CloseAfterReportMessageBase.ReportActionsMessageBase.AuthorMessageBase.CreationDateMessageBase.PropertyChanged

Constructors

ListMessage(MessageDisplayPosition, Author, IEnumerable, DateTime)

Initializes a new instance of the ListMessage class.

Declaration

cs-api-definition
public ListMessage(MessageDisplayPosition displayPosition, Author author, IEnumerable source, DateTime creationDate = default)

Parameters

displayPosition

MessageDisplayPosition

author

Author

source

IEnumerable

creationDate

DateTime

ListMessage(MessageDisplayPosition, Author, IEnumerable, SelectionMode, DateTime)

Initializes a new instance of the ListMessage class.

Declaration

cs-api-definition
public ListMessage(MessageDisplayPosition displayPosition, Author author, IEnumerable source, SelectionMode selectionMode, DateTime creationDate = default)

Parameters

displayPosition

MessageDisplayPosition

author

Author

source

IEnumerable

selectionMode

SelectionMode

creationDate

DateTime

Properties

DisplayMemberPath

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

Declaration

cs-api-definition
public string DisplayMemberPath { get; set; }

Property Value

string

InlineViewModel

Gets the InlineViewModel.

Declaration

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

Property Value

InlineViewModel

Implements IInlineMessage.InlineViewModel

ItemTemplate

Gets or sets the item template of the underlying ItemsControl.

Declaration

cs-api-definition
public DataTemplate ItemTemplate { get; set; }

Property Value

DataTemplate

OverlayViewModel

Gets the OverlayViewModel.

Declaration

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

Property Value

OverlayViewModel

Implements IOverlayMessage.OverlayViewModel

PopupViewModel

Gets the PopupViewModel.

Declaration

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

Property Value

PopupViewModel

Implements IPopupMessage.PopupViewModel

SelectedIndex

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

Declaration

cs-api-definition
public int SelectedIndex { get; set; }

Property Value

int

SelectedItem

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

Declaration

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

Property Value

object

SelectionChangedCommand

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

Declaration

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

Property Value

ICommand

SelectionMode

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

Declaration

cs-api-definition
public SelectionMode SelectionMode { get; set; }

Property Value

SelectionMode

Source

Gets or sets the list's data source.

Declaration

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

Property Value

IEnumerable