Class
ImageCardMessage

Represents a message that displays images and text.

Definition

Namespace:Telerik.Windows.Controls.ConversationalUI

Assembly:Telerik.Windows.Controls.ConversationalUI.dll

Syntax:

cs-api-definition
public class ImageCardMessage : CardMessage, IReportMessageResult, INotifyPropertyChanged, IInlineMessage

Inheritance: objectMessageBaseCardMessageImageCardMessage

Derived Classes: ProductCardMessageWeatherCardMessage

Implements: IInlineMessageINotifyPropertyChangedIReportMessageResult

Inherited Members CardMessage.TitleCardMessage.SubTitleCardMessage.TextCardMessage.ActionResultsOrientationCardMessage.InlineViewModelMessageBase.SubscribeToMessageResult(Action<object, MessageResultEventArgs>)MessageBase.ValidateMessageDisplayPosition()MessageBase.OnPropertyChanged(string)MessageBase.ReportViewModelMessageBase.DisplayPositionMessageBase.MessageTypeMessageBase.AutoReportMessageBase.PostResultInlineMessageBase.CloseAfterReportMessageBase.ReportActionsMessageBase.AuthorMessageBase.CreationDateMessageBase.PropertyChanged

Constructors

ImageCardMessage(Author, DateTime)

Initializes a new instance of the ImageCardMessage class.

Declaration

cs-api-definition
public ImageCardMessage(Author author, DateTime creationDate = default)

Parameters

author

Author

creationDate

DateTime

ImageCardMessage(Author, ImageSource, DateTime)

Initializes a new instance of the ImageCardMessage class.

Declaration

cs-api-definition
public ImageCardMessage(Author author, ImageSource imageSource, DateTime creationDate = default)

Parameters

author

Author

imageSource

ImageSource

creationDate

DateTime

Properties

CardOrientation

Gets or sets the layout orientation.

Declaration

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

Property Value

CardOrientation

ImageDisplayMode

Gets or sets the image display mode.

Declaration

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

Property Value

ImageDisplayMode

ImageSource

Gets or sets the image source.

Declaration

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

Property Value

ImageSource