Represents a file attachment displayed in the RadPromptInput attachments area. Provides properties for the file name, size, custom data, and a stream provider.
Definition
Namespace:Telerik.Windows.Controls.ConversationalUI
Assembly:Telerik.Windows.Controls.dll
Syntax:
public class PromptInputAttachedFile : ViewModelBase, INotifyPropertyChanged, IDisposable
Inheritance: objectViewModelBasePromptInputAttachedFile
Implements:
Inherited Members
Constructors
Initializes a new instance of the PromptInputAttachedFile class.
public PromptInputAttachedFile()
Initializes a new instance of the PromptInputAttachedFile class with a FileInfo.
Properties
Gets or sets some custom information about the particular item. The RadPromptInput does not use this property anywhere, use this to carry a payload of information for your convenience.
public object Data { get; set; }
Gets or sets the short file name of the attachment that will be displayed in the message.
public string FileName { get; set; }
Gets or sets the func that provides a stream of the attachment.
public Func<Stream> GetFileStream { get; set; }
Gets or sets a boolean value indicating that the file is currently being downloaded.
public bool IsDownloading { get; set; }