alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class AssistViewAttachmentTemplateContext

    Represents the context provided to a custom AttachmentTemplate, supplying file metadata for rendering each attachment.

    Inheritance
    object
    AssistViewAttachmentTemplateContext
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved