Skip to main content
A newer version of this page is available. .

Obtain Summary Values

ASPxCardView supports total summary. This topic provides information on how to obtain summary values in code.

ASPxCardView stores its total summary items within the ASPxCardView.TotalSummary collection. To obtain the required summary item’s value, use the ASPxCardView.GetTotalSummaryValue method.


int siValue = Convert.ToInt32(ASPxCardView1.GetTotalSummaryValue(
         ASPxCardView1.TotalSummary["UnitPrice", DevExpress.Data.SummaryItemType.Max]));

To obtain the total summary item’s display text, use the ASPxCardViewSummaryItem.GetTotalSummaryDisplayText method.