The arguments of AttachmentAdding: the file the user picked, before it is attached to the next message.
Object
Namespace: Radzen.Blazor
Assembly: Radzen.Blazor.dll
public class ChatAttachmentAddingEventArgsInitializes a new instance of the ChatAttachmentAddingEventArgs class.
public ChatAttachmentAddingEventArgs(ChatAttachment attachment)
| Type | Name | Description |
|---|---|---|
| ChatAttachment | attachment | The attachment read from the picked file. |
Gets or sets the attachment. Replace it to attach something else instead, for example the same image scaled down.
public ChatAttachment Attachment { get; set; }
| Type | Description |
|---|---|
| ChatAttachment | Gets or sets the attachment. Replace it to attach something else instead, for example the same image scaled down. |
Gets or sets whether the file is not attached.
public bool Cancel { get; set; }
| Type | Description |
|---|---|
| bool | Gets or sets whether the file is not attached. |