ChatAttachmentAddingEventArgs Class

The arguments of AttachmentAdding: the file the user picked, before it is attached to the next message.

Inheritance

Object

ChatAttachmentAddingEventArgs

Namespace: Radzen.Blazor

Assembly: Radzen.Blazor.dll

Syntax

public class ChatAttachmentAddingEventArgs

Constructors

ChatAttachmentAddingEventArgsLink to this section

Initializes a new instance of the ChatAttachmentAddingEventArgs class.

Declaration
public ChatAttachmentAddingEventArgs(ChatAttachment attachment)
Parameters
Type Name Description
ChatAttachment attachment The attachment read from the picked file.

Properties

AttachmentLink to this section

Gets or sets the attachment. Replace it to attach something else instead, for example the same image scaled down.

Declaration
public ChatAttachment Attachment { get; set; }
Property Value
Type Description
ChatAttachmentGets or sets the attachment. Replace it to attach something else instead, for example the same image scaled down.

CancelLink to this section

Gets or sets whether the file is not attached.

Declaration
public bool Cancel { get; set; }
Property Value
Type Description
boolGets or sets whether the file is not attached.
An error has occurred. This app may no longer respond until reloaded. Reload 🗙