Class
ChatInputArea

Represents the chat input area for the RadChat.

Definition

Namespace:Telerik.Maui.Controls.Chat

Assembly:Telerik.Maui.Controls.dll

Syntax:

cs-api-definition
public class ChatInputArea : RadBorderContentView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout

Inheritance: objectRadContentViewRadCompositeContentViewRadBorderContentViewChatInputArea

Implements: IContentViewICrossPlatformLayoutIElementIPaddingIRadContentViewITransformIView

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

Constructors

ChatInputArea()

Initializes a new instance of the ChatInputArea class.

Declaration

cs-api-definition
public ChatInputArea()

Fields

AttachedFilesProperty

Identifies the AttachedFiles property.

Declaration

cs-api-definition
public static readonly BindableProperty AttachedFilesProperty

Field Value

BindableProperty

AttachedFilesViewStyleProperty

Identifies the AttachedFilesViewStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty AttachedFilesViewStyleProperty

Field Value

BindableProperty

MessageProperty

Identifies the Message property.

Declaration

cs-api-definition
public static readonly BindableProperty MessageProperty

Field Value

BindableProperty

SendMessageButtonImageProperty

Identifies the SendMessageButtonImage property.

Declaration

cs-api-definition
public static readonly BindableProperty SendMessageButtonImageProperty

Field Value

BindableProperty

SendMessageCommandProperty

Identifies the SendMessageCommand property.

Declaration

cs-api-definition
public static readonly BindableProperty SendMessageCommandProperty

Field Value

BindableProperty

Properties

AttachedFiles

Gets or sets a collection that contains the currently attached files that have not yet been sent.

Declaration

cs-api-definition
public ICollection<ChatAttachedFile> AttachedFiles { get; set; }

Property Value

ICollection<ChatAttachedFile>

AttachedFilesViewStyle

Gets or sets the style that is applied to the view presents the currently attached files that have not yet been sent. This style should have the set to ChatInputAreaAttachedFilesView.

Declaration

cs-api-definition
public Style AttachedFilesViewStyle { get; set; }

Property Value

Style

Message

Gets or sets the message that is typed in the chat entry.

Declaration

cs-api-definition
public object Message { get; set; }

Property Value

object

SendMessageButtonImage

Gets or sets the image for the send message button.

Declaration

cs-api-definition
public ImageSource SendMessageButtonImage { get; set; }

Property Value

ImageSource

SendMessageCommand

Gets or sets the custom command that will be executed when sending a message (when the Send message button is pressed or Enter is pressed). The parameter of this command is of type object and the value is the same as the Message property.

Declaration

cs-api-definition
public ICommand SendMessageCommand { get; set; }

Property Value

ICommand

SpeechRecognizedCommand

Gets the command that is executed when speech is recognized by the speech-to-text button.

Declaration

cs-api-definition
public ICommand SpeechRecognizedCommand { get; }

Property Value

ICommand

Methods

OnApplyTemplate()

Declaration

cs-api-definition
protected override void OnApplyTemplate()

Overrides RadCompositeContentView.OnApplyTemplate()