Class ImageMessage
Represents message type that displays an image.
Inherited Members
Namespace: Telerik.Windows.Controls.ConversationalUI
Assembly: Telerik.Windows.Controls.ConversationalUI.dll
Syntax
public class ImageMessage : MessageBase, IReportMessageResult, INotifyPropertyChanged, IInlineMessage
Constructors
ImageMessage(Author, ImageSource, DateTime)
Initializes a new instance of the ImageMessage class.
Declaration
public ImageMessage(Author author, ImageSource source, DateTime creationDate = null)
Parameters
Author
author
|
System.Windows.Media.ImageSource
source
|
System.DateTime
creationDate
|
Properties
InlineViewModel
Gets the InlineViewModel.
Declaration
public InlineViewModel InlineViewModel { get; }
Property Value
InlineViewModel
|
Implements
Size
Gets or sets the image size.
Declaration
public Size Size { get; set; }
Property Value
System.Windows.Size
|
Source
Gets or sets the source of the image.
Declaration
public ImageSource Source { get; set; }
Property Value
System.Windows.Media.ImageSource
|
Stretch
Gets or sets the stretching behavior of the image.
Declaration
public Stretch Stretch { get; set; }
Property Value
System.Windows.Media.Stretch
|