New to Telerik UI for WPFStart a free 30-day trial

Represents message type that displays an image.

Definition

Constructors

Initializes a new instance of the ImageMessage class.

C#
public ImageMessage(Author author, ImageSource source, DateTime creationDate = default)
Parameters:authorAuthorsourceImageSourcecreationDateDateTime

Properties

Gets the InlineViewModel.

C#
public InlineViewModel InlineViewModel { get; }

Implements: IInlineMessage.InlineViewModel

Size

Size

Gets or sets the image size.

C#
public Size Size { get; set; }

Source

ImageSource

Gets or sets the source of the image.

C#
public ImageSource Source { get; set; }

Stretch

Stretch

Gets or sets the stretching behavior of the image.

C#
public Stretch Stretch { get; set; }