Represents a file attachment displayed in the RadPromptInputElement attachments area. Provides properties for the file name, size, custom data, and a stream provider.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class PromptInputAttachedFile : INotifyPropertyChanged
Inheritance: objectPromptInputAttachedFile
Implements:
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.
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 value indicating whether the file is currently being downloaded. Consumers can toggle this flag while running a download operation so that the attachment chip UI can reflect the in-progress state (e.g. show a spinner).
public bool IsDownloading { get; set; }
Methods
Raises the PropertyChanged event.
Events
public event PropertyChangedEventHandler PropertyChanged
Implements: