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

Represents a card message that displays info about a product.

Definition

Constructors

Initializes a new instance of the ProductCardMessage class.

C#
public ProductCardMessage(Author author, DateTime creationDate = default)
Parameters:authorAuthorcreationDateDateTime

Initializes a new instance of the ProductCardMessage class.

C#
public ProductCardMessage(Author author, ImageSource imageSource, DateTime creationDate = default)
Parameters:authorAuthorimageSourceImageSourcecreationDateDateTime

Properties

Gets or sets the formatted price.

C#
public string Price { get; set; }

Gets or sets the rating of the product.

C#
public double Rating { get; set; }

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

C#
public int RatingItemsCount { get; set; }