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

Represents a model for a message item displayed in the chat.

Definition

Namespace:Telerik.Maui.Controls.Chat

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class ChatItem : BindableObject

Inheritance: objectChatItem

Derived Classes: ChatMessagePickerItemSuggestedActionsItemTimeBreak

Constructors

C#
public ChatItem()

Fields

ChatProperty

BindableProperty

Identifies the Chat property.

C#
public static readonly BindableProperty ChatProperty

DataProperty

BindableProperty

Identifies the Data property.

C#
public static readonly BindableProperty DataProperty

Properties

Gets the RadChat control that owns the item.

C#
public RadChat Chat { get; }

Gets or sets some custom information about the particular item. The RadChat does not use this property anywhere, use this to carry a payload of information for your convenience.

C#
public object Data { get; set; }