ClassAttachmentActionEventArgs
Class
Provides data for the AttachmentActionRequested event.
Definition
Namespace:Telerik.Windows.Controls.ConversationalUI
Assembly:Telerik.Windows.Controls.ConversationalUI.dll
Syntax:
cs-api-definition
public class AttachmentActionEventArgs : RoutedEventArgs
Inheritance: objectAttachmentActionEventArgs
Constructors
AttachmentActionEventArgs(MessageBase, IReadOnlyList<PromptInputAttachedFile>, AttachmentAction)
Initializes a new instance of the AttachmentActionEventArgs class.
Declaration
cs-api-definition
public AttachmentActionEventArgs(MessageBase message, IReadOnlyList<PromptInputAttachedFile> attachedFiles, AttachmentAction action)
Parameters
message
The message containing the attachments.
attachedFiles
IReadOnlyList<PromptInputAttachedFile>
The list of attached files the action applies to.
action
The action to perform on the attachments.
Properties
Action
Gets the action to perform on the attachments.
Declaration
cs-api-definition
public AttachmentAction Action { get; }
Property Value
AttachedFiles
Gets the attached files the action applies to.
Declaration
cs-api-definition
public IReadOnlyList<PromptInputAttachedFile> AttachedFiles { get; }
Property Value
Message
Gets the message that contains the attachments.