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

Represents a view which displays a text message in the chat, i.e. it visualizes a TextMessage.

Definition

Namespace:Telerik.Maui.Controls.Chat

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public abstract class ChatTextMessageView : ChatItemView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout

Inheritance: objectRadContentViewRadCompositeContentViewRadBorderContentViewChatItemViewChatTextMessageView...

Derived Classes: ChatIncomingTextMessageViewChatOutgoingTextMessageView

Implements: IContentViewICrossPlatformLayoutIElementIPaddingIRadContentViewITransformIView...

Inherited Members ChatItemView.ItemPropertyChatItemView.ItemRadBorderContentView.BackgroundColorPropertyRadBorderContentView.BackgroundPropertyRadBorderContentView.BorderColorPropertyRadBorderContentView.BorderBrushPropertyRadBorderContentView.BorderThicknessPropertyRadBorderContentView.CornerRadiusPropertyRadBorderContentView.ContentPaddingPropertyRadBorderContentView.BackgroundColorRadBorderContentView.BackgroundRadBorderContentView.BorderColorRadBorderContentView.BorderBrushRadBorderContentView.BorderThicknessRadBorderContentView.CornerRadiusRadBorderContentView.ContentPaddingRadCompositeContentView.StylePropertyRadCompositeContentView.ControlTemplatePropertyRadCompositeContentView.OnApplyTemplate()RadCompositeContentView.OnBindingContextChanged()RadCompositeContentView.OnPropertyChanged(string)RadCompositeContentView.StyleRadCompositeContentView.ControlTemplateRadContentView.ActualStyleClassPropertyRadContentView.OnChildAdded(Element)RadContentView.OnChildRemoved(Element, int)RadContentView.OnHandlerChanged()...

Constructors

Initializes a new instance of the class.

C#
public ChatTextMessageView()

Fields

BorderStyleProperty

BindableProperty

Identifies the BorderStyle property.

C#
public static readonly BindableProperty BorderStyleProperty

LabelStyleProperty

BindableProperty

Identifies the LabelStyle property.

C#
public static readonly BindableProperty LabelStyleProperty

Properties

Gets or sets the style of the border (bubble) of the text message. The actual style that is applied is a merger of the custom BorderStyle and the default style.

C#
public Style BorderStyle { get; set; }

Gets or sets the style of the label of the text message. The actual style that is applied is a merger of the custom LabelStyle and the default style.

C#
public Style LabelStyle { get; set; }