New to Telerik UI for WinUI? Download free 30-day trial

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 for the typing indicator 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

var textMessage = new TextMessage(this.currentAuthor, "Hello", "sent"); 
textMessage.InlineViewModel.StatusVisibility = Microsoft.UI.Xaml.Visibility.Visible; 
 
this.chat.AddMessage(textMessage); 
 
this.chat.TypingIndicatorText = this.otherAuthor.Name + " is typing..."; 
this.chat.TypingIndicatorVisibility = Microsoft.UI.Xaml.Visibility.Visible; 
RadChat with set TypingIndicator

RadChat with set TypingIndicator

In this article
Not finding the help you need?