Class ChatAttachmentClickEventArgs
Inherited Members
Namespace: Syncfusion.Blazor.InteractiveChat
Assembly: Syncfusion.Blazor.dll
Syntax
public class ChatAttachmentClickEventArgs
Constructors
ChatAttachmentClickEventArgs()
Declaration
public ChatAttachmentClickEventArgs()
Properties
Cancel
Gets or sets a value indicating whether rendering preview should be canceled.
Declaration
public bool Cancel { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | A bool indicating whether to prevent preview rendering. The default value is false. |
Remarks
Set this property to true to cancel the preview rendering operation. When set to true, the preview will not be rendered.
The default value of false allows preview rendering to proceed normally.
SelectedFile
Gets or sets the file that is intended to be previewed.
Declaration
public FileInfo SelectedFile { get; set; }
Property Value
| Type | Description |
|---|---|
| FileInfo | A FileInfo object containing all relevant details of the file to be previewed. The default value is null. |
Remarks
The SelectedFile property holds a FileInfo object that represents the file
currently selected for preview operations. This file can be previewed or canceled before the message is sent.
When null, no file is currently selected for preview. Set this property to a FileInfo instance to specify which file should be previewed.
The FileInfo object contains all necessary file metadata including name, size, type, and other relevant details required for preview rendering and message transmission.