ClassPromptInputAttachedFile
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
PromptInputAttachedFile()
Initializes a new instance of the PromptInputAttachedFile class.
Declaration
public PromptInputAttachedFile()
PromptInputAttachedFile(FileInfo)
Initializes a new instance of the PromptInputAttachedFile class with a FileInfo.
Declaration
public PromptInputAttachedFile(FileInfo file)
Parameters
file
Properties
Data
Gets or sets some custom information about the particular item.
FileName
Gets or sets the short file name of the attachment that will be displayed in the message.
FileSize
Gets or sets the size of the attachment in bytes.
GetFileStream
Gets or sets the func that provides a stream of the attachment.
IsDownloading
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).
Methods
OnPropertyChanged(string)
Raises the PropertyChanged event.
Declaration
protected virtual void OnPropertyChanged(string propertyName)
Parameters
propertyName
Events
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Value
Implements