New to Telerik UI for .NET MAUIStart a free 30-day trial

Represents a message that displays simple text.

Definition

Namespace:Telerik.Maui.Controls.Chat

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class TextMessage : ChatMessage

Inheritance: objectChatItemChatMessageTextMessage

Inherited Members ChatMessage.AuthorPropertyChatMessage.AuthorChatItem.DataPropertyChatItem.ChatPropertyChatItem.ChatChatItem.Data...

Constructors

C#
public TextMessage()

Fields

TextProperty

BindableProperty

Identifies the Text property.

C#
public static readonly BindableProperty TextProperty

Properties

Gets or sets the text that gets displayed in the message.

C#
public string Text { get; set; }