# List  Message

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**

**Defining a 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);
```

> caption Defining ListMessage

![Defining ListMessage](https://www.telerik.com/products/wpf/documentation/assets/e4b4273a01b6cd06881e44fdb2fdb8e6/radchat_messages_list_01.png)

## See Also

* [Messages Overview](https://www.telerik.com/products/wpf/documentation/controls/radchat/messages/overview)
