ClassPromptInputSendingMessageEventArgs
Class
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
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
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>