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:
C#
public class PromptInputSendingMessageEventArgs : CancelEventArgs
Inheritance: objectEventArgsCancelEventArgsPromptInputSendingMessageEventArgs
Inherited Members
Constructors
Initializes a new instance of the PromptInputSendingMessageEventArgs class.
C#
public PromptInputSendingMessageEventArgs(string text, IReadOnlyList<PromptInputAttachedFile> attachedFiles)
The message text.
attachedFilesIReadOnlyList<PromptInputAttachedFile>A snapshot of the attached files.
Properties
AttachedFiles
IReadOnlyList<PromptInputAttachedFile>
Gets a read-only snapshot of the attached files at the time the message is about to be sent.
C#
public IReadOnlyList<PromptInputAttachedFile> AttachedFiles { get; }