ClassChatAttachedFile
Represents an attached file in the ChatInputArea.
Definition
Namespace:Telerik.Maui.Controls.Chat
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class ChatAttachedFile : NotifyPropertyChangedBase, INotifyPropertyChanged
Inheritance: objectNotifyPropertyChangedBaseChatAttachedFile
Implements:
Inherited Members
Constructors
ChatAttachedFile()
Initializes a new instance of the class.
Declaration
public ChatAttachedFile()
ChatAttachedFile(FileResult)
Initializes a new instance of the class with a FileResult that is the result of the end user picking a file via the PickFileCommand.
Declaration
public ChatAttachedFile(FileResult fileResult)
Parameters
fileResult
FileResult
ChatAttachedFile(IFileInfo)
Initializes a new instance of the class with a IFileInfo.
Properties
Data
Gets or sets some custom information about the particular item. The RadChat does not use this property anywhere, use this to carry a payload of information for your convenience.
FileName
Gets or sets the short file name of the attachment that will be displayed in the message.
FileResult
Gets the relevant FileResult instance if the attached file was created from a .
Declaration
public FileResult FileResult { get; }
Property Value
FileResult
FileSize
Gets or sets the size of the attachment in bytes.
FullFilePath
Gets or sets the full file path, if available, of the attachment that will be displayed in the message.
GetFileStream
Gets or sets the func that provides a stream of the attachment.