Class
ProductCardMessage

Represents a card message that displays info about a product.

Definition

Namespace:Telerik.Windows.Controls.ConversationalUI

Assembly:Telerik.Windows.Controls.ConversationalUI.dll

Syntax:

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

Inheritance: objectMessageBaseCardMessageImageCardMessageProductCardMessage

Implements: IInlineMessageINotifyPropertyChangedIReportMessageResult

Inherited Members ImageCardMessage.ImageSourceImageCardMessage.ImageDisplayModeImageCardMessage.CardOrientationCardMessage.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

ProductCardMessage(Author, DateTime)

Initializes a new instance of the ProductCardMessage class.

Declaration

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

Parameters

author

Author

creationDate

DateTime

ProductCardMessage(Author, ImageSource, DateTime)

Initializes a new instance of the ProductCardMessage class.

Declaration

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

Parameters

author

Author

imageSource

ImageSource

creationDate

DateTime

Properties

Price

Gets or sets the formatted price.

Declaration

cs-api-definition
public string Price { get; set; }

Property Value

string

Rating

Gets or sets the rating of the product.

Declaration

cs-api-definition
public double Rating { get; set; }

Property Value

double

RatingItemsCount

Gets or sets the number of rating items (stars).

Declaration

cs-api-definition
public int RatingItemsCount { get; set; }

Property Value

int