Class AssistViewAttachmentTemplateContext
Represents the context provided to a custom AttachmentTemplate, supplying file metadata for rendering each attachment.
Inherited Members
Namespace: Syncfusion.Blazor.InteractiveChat
Assembly: Syncfusion.Blazor.InteractiveChat.dll
Syntax
public class AssistViewAttachmentTemplateContext
Remarks
This context is passed as the context variable inside an AttachmentTemplate render fragment.
It exposes SelectedFile to give access to the attachment's metadata, including its Name, Size, and FileSource.
Constructors
AssistViewAttachmentTemplateContext()
Declaration
public AssistViewAttachmentTemplateContext()
Properties
SelectedFile
Gets the file information for the attachment currently being rendered.
Declaration
public FileInfo SelectedFile { get; set; }
Property Value
| Type | Description |
|---|---|
| FileInfo | A FileInfo object containing metadata about the selected attachment, including its name, size, MIME type, and upload status. |