# Typing Indicator

The **TypingIndicator** functionality of the Conversational UI can be used to indicate that an **Author** is typing. This is done through the following properties.

* **TypingIndicatorVisibility**: It is of type **Visibility**. By default its value is set to **Collapsed**. In order the **TypingIndicator** to be displayed it can be set to **Visible**.
* **TypingIndicatorText**: A string property that specifies what text to be displayed when an **Author** is typing.
* **TypingIndicatorIcon**: An ImageSource property through which a custom icon for the **TypingIndicator** can be applied.

**Setting the TypingIndicator**

```C#
var textMessage = new TextMessage(this.currentAuthor, "Hello", "sent");
textMessage.InlineViewModel.StatusVisibility = Visibility.Visible;

this.chat.AddMessage(textMessage);

this.chat.TypingIndicatorText = this.otherAuthor.Name + " is typing...";
this.chat.TypingIndicatorVisibility = Visibility.Visible;
this.chat.TypingIndicatorIcon = new BitmapImage(new Uri("/Images/PeterJohnson.jpeg", UriKind.RelativeOrAbsolute));
```

Setting the **TypingIndicator** in such manner will have the following result.

> caption Setting the TypingIndicator

![Setting the TypingIndicator](https://www.telerik.com/products/wpf/documentation/assets/b690235aa986f89aacba8ab005f62b14/radchat_items_typeindicator_01.png)

## See Also

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

* [Getting Started](https://www.telerik.com/products/wpf/documentation/controls/radchat/getting-started)

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