New to Telerik UI for WPFStart a free 30-day trial

Provides data for the AttachmentActionRequested event.

Definition

Namespace:Telerik.Windows.Controls.ConversationalUI

Assembly:Telerik.Windows.Controls.ConversationalUI.dll

Syntax:

C#
public class AttachmentActionEventArgs : RoutedEventArgs

Inheritance: objectAttachmentActionEventArgs

Constructors

Initializes a new instance of the AttachmentActionEventArgs class.

C#
public AttachmentActionEventArgs(MessageBase message, IReadOnlyList<PromptInputAttachedFile> attachedFiles, AttachmentAction action)
Parameters:messageMessageBase

The message containing the attachments.

attachedFilesIReadOnlyList<PromptInputAttachedFile>

The list of attached files the action applies to.

actionAttachmentAction

The action to perform on the attachments.

Properties

Gets the action to perform on the attachments.

C#
public AttachmentAction Action { get; }

Gets the attached files the action applies to.

C#
public IReadOnlyList<PromptInputAttachedFile> AttachedFiles { get; }

Gets the message that contains the attachments.

C#
public MessageBase Message { get; }