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

List Message

Updated on Sep 15, 2025

Specific for the ListMessage is that it has to be populated with a source collection and can have its SelectionMode set. The arguments of its constructor accept the following parameters.

  • MessageDisplayPosition displayPosition
  • Author author
  • IEnumerable source
  • SelectionMode selectionMode
  • DateTime creationDate

Example 1: Defining an ListMessage

C#
	   List<string> coffee = new List<string>();
            coffee.Add("Caffe Latte");
            coffee.Add("Cafe mocha");
            coffee.Add("Frappuccino");
            coffee.Add("Cuban espresso");
            coffee.Add("Iced Coffee");
            coffee.Add("Americano");

            ListMessage listMessageInline = new ListMessage(MessageDisplayPosition.Inline, this.currentAuthor, coffee, SelectionMode.Single);

            this.chat.AddMessage(listMessageInline);

Figure 1: Defining ListMessage

Defining ListMessage

See Also

In this article
See Also
Not finding the help you need?
Contact Support