alexa
menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class AttachmentItem

    Represents an attachment item in the SfAIAssistView.

    Inheritance
    System.Object
    CardViewBase
    AttachmentItem
    Implements
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    CardViewBase.Icon
    CardViewBase.PropertyChanged
    CardViewBase.RaisePropertyChanged(String)
    Namespace: Syncfusion.WinForms.AIAssistView
    Assembly: Syncfusion.SfAIAssistView.WinForms.dll
    Syntax
    public class AttachmentItem : CardViewBase, INotifyPropertyChanged

    Constructors

    AttachmentItem()

    Declaration
    public AttachmentItem()

    Properties

    FileContent

    Gets or sets the raw content of the file as an array of bytes.

    Declaration
    public byte[] FileContent { get; set; }
    Property Value
    Type
    System.Byte[]

    FileExtension

    Gets or sets the file extension (e.g., ".pdf").

    Declaration
    public string FileExtension { get; set; }
    Property Value
    Type
    System.String

    FileIcon

    Gets or sets the 32x32 icon representing the file type.

    Declaration
    public Image FileIcon { get; set; }
    Property Value
    Type
    System.Drawing.Image

    FileName

    Gets or sets the name of the file including its extension.

    Declaration
    public string FileName { get; set; }
    Property Value
    Type
    System.String

    FilePath

    Gets or sets the full file path.

    Declaration
    public string FilePath { get; set; }
    Property Value
    Type
    System.String

    FilePreviewIcon

    Gets or sets the 32x32 image representing a preview/thumbnail of the file.

    Declaration
    public Image FilePreviewIcon { get; set; }
    Property Value
    Type
    System.Drawing.Image

    FileSize

    Gets or sets the human-readable size of the file (e.g., "4.5 MB").

    Declaration
    public string FileSize { get; set; }
    Property Value
    Type
    System.String

    Implements

    System.ComponentModel.INotifyPropertyChanged
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved