alexa
menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class AssistAttachment

    Represents an attachment selected for the request input area.

    Inheritance
    System.Object
    AssistAttachment
    Implements
    IAttachment
    Namespace: Syncfusion.Maui.AIAssistView
    Assembly: Syncfusion.Maui.AIAssistView.dll
    Syntax
    public class AssistAttachment : BindableObject, IAttachment

    Constructors

    AssistAttachment()

    Declaration
    public AssistAttachment()

    Fields

    FileContentProperty

    Identifies the FileExtension bindable property. Stores the file content.

    Declaration
    public static readonly BindableProperty FileContentProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    FileExtensionProperty

    Identifies the FileExtension bindable property. Stores the file extension (including leading '.') inferred from the file name.

    Declaration
    public static readonly BindableProperty FileExtensionProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    FileNameProperty

    Identifies the FileName bindable property.

    Declaration
    public static readonly BindableProperty FileNameProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    FilePathProperty

    Identifies the FilePath bindable property. Optional full file path to enable image previews for image files.

    Declaration
    public static readonly BindableProperty FilePathProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    FilePreviewIconProperty

    Identifies the FileExtension bindable property. Stores the file preview icon as image.

    Declaration
    public static readonly BindableProperty FilePreviewIconProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    FileSizeProperty

    Identifies the FileSize bindable property (bytes).

    Declaration
    public static readonly BindableProperty FileSizeProperty
    Field Value
    Type
    Microsoft.Maui.Controls.BindableProperty

    Properties

    FileContent

    Gets or sets the file content.

    Declaration
    public Stream FileContent { get; set; }
    Property Value
    Type
    System.IO.Stream

    FileExtension

    Gets or sets the file extension (including leading '.') inferred from the file name.

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

    FileName

    Gets or sets the attachment file name.

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

    FilePath

    Gets or sets the optional full file path of the attachment. If the file is an image, an inline preview will be generated.

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

    FilePreviewIcon

    Gets or sets the file preview icon.

    Declaration
    public ImageSource FilePreviewIcon { get; set; }
    Property Value
    Type
    Microsoft.Maui.Controls.ImageSource

    FileSize

    Gets or sets the attachment size in bytes.

    Declaration
    public long FileSize { get; set; }
    Property Value
    Type
    System.Int64

    Implements

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