Class
PromptInputSendingMessageEventArgs

Provides data for the SendingMessage cancelable event. Set Cancel to true to prevent the message from being sent.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public class PromptInputSendingMessageEventArgs : CancelEventArgs

Inheritance: objectEventArgsCancelEventArgsPromptInputSendingMessageEventArgs

Inherited Members CancelEventArgs.CancelEventArgs.Empty

Constructors

PromptInputSendingMessageEventArgs(string, IReadOnlyList<PromptInputAttachedFile>)

Initializes a new instance of the PromptInputSendingMessageEventArgs class.

Declaration

cs-api-definition
public PromptInputSendingMessageEventArgs(string text, IReadOnlyList<PromptInputAttachedFile> attachedFiles)

Parameters

text

string

The message text.

attachedFiles

IReadOnlyList<PromptInputAttachedFile>

A snapshot of the attached files.

Properties

AttachedFiles

Gets a read-only snapshot of the attached files at the time the message is about to be sent.

Declaration

cs-api-definition
public IReadOnlyList<PromptInputAttachedFile> AttachedFiles { get; }

Property Value

IReadOnlyList<PromptInputAttachedFile>

Text

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

Declaration

cs-api-definition
public string Text { get; }

Property Value

string