Class
ProductCard

Definition

Constructors

ProductCard()

Declaration

cs-api-definition
public ProductCard()

Fields

PriceProperty

Identifies the Price dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty PriceProperty

Field Value

DependencyProperty

RatingItemsCountProperty

Identifies the RatingItemsCount dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty RatingItemsCountProperty

Field Value

DependencyProperty

RatingProperty

Identifies the Rating dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty RatingProperty

Field Value

DependencyProperty

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

Methods

OnCreateAutomationPeer()

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

Overrides ImageCard.OnCreateAutomationPeer()

OnInitialized(EventArgs)

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

Overrides ImageCard.OnInitialized(EventArgs)