Class
AttachmentActionEventArgs

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

MessageBase

The message containing the attachments.

attachedFiles

IReadOnlyList<PromptInputAttachedFile>

The list of attached files the action applies to.

action

AttachmentAction

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

AttachmentAction

AttachedFiles

Gets the attached files the action applies to.

Declaration

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

Property Value

IReadOnlyList<PromptInputAttachedFile>

Message

Gets the message that contains the attachments.

Declaration

cs-api-definition
public MessageBase Message { get; }

Property Value

MessageBase