Skip to main content

Obtain Summary Values

ASPxCardView supports the total summary feature. 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.