New to Telerik UI for WinFormsStart a free 30-day trial

Provides data for the SendMessage event. Contains a snapshot of the input text and attached files at the time the message was sent.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class PromptInputSendMessageEventArgs : EventArgs

Inheritance: objectEventArgsPromptInputSendMessageEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes a new instance of the PromptInputSendMessageEventArgs class.

C#
public PromptInputSendMessageEventArgs(string text, IReadOnlyList<PromptInputAttachedFile> attachedFiles)
Parameters:textstring

The message text.

attachedFilesIReadOnlyList<PromptInputAttachedFile>

A snapshot of the attached files.

Properties

Gets a read-only snapshot of the attached files at the time the message was sent.

C#
public IReadOnlyList<PromptInputAttachedFile> AttachedFiles { get; }

Gets the message text that was entered in the input box.

C#
public string Text { get; }