Class
ImageMessage

Represents message type that displays an image.

Definition

Constructors

ImageMessage(Author, ImageSource, DateTime)

Initializes a new instance of the ImageMessage class.

Declaration

cs-api-definition
public ImageMessage(Author author, ImageSource source, DateTime creationDate = default)

Parameters

author

Author

source

ImageSource

creationDate

DateTime

Properties

InlineViewModel

Gets the InlineViewModel.

Declaration

cs-api-definition
public InlineViewModel InlineViewModel { get; }

Property Value

InlineViewModel

Implements IInlineMessage.InlineViewModel

Size

Gets or sets the image size.

Declaration

cs-api-definition
public Size Size { get; set; }

Property Value

Size

Source

Gets or sets the source of the image.

Declaration

cs-api-definition
public ImageSource Source { get; set; }

Property Value

ImageSource

Stretch

Gets or sets the stretching behavior of the image.

Declaration

cs-api-definition
public Stretch Stretch { get; set; }

Property Value

Stretch