ChatMediaMessage
Represents an image message with an explicit layout size separate from the image's intrinsic dimensions.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class ChatMediaMessage : ChatMessage, INotifyPropertyChanged
Inheritance: objectChatMessageChatMediaMessage
Implements:
Inherited Members
Constructors
Initializes an image message with application-defined user data.
public ChatMediaMessage(Image displayImage, Size size, Author author, DateTime timeStamp, object userData)
The image displayed in the chat bubble.
sizeSizeThe requested image-bubble size before DPI scaling.
authorAuthorThe author displayed for the message.
timeStampDateTimeThe time associated with the message.
userDataobjectApplication-defined data associated with the message.
Initializes an image message without additional user data.
public ChatMediaMessage(Image displayImage, Size size, Author author, DateTime timeStamp)
The image displayed in the chat bubble.
sizeSizeThe requested image-bubble size before DPI scaling.
authorAuthorThe author displayed for the message.
timeStampDateTimeThe time associated with the message.
Properties
Gets the image assigned to the media message's visual element.
public Image DisplayImage { get; }