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

ASPxCardView.TotalSummary Property

Provides access to total summary items.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.2.dll

Declaration

[DefaultValue(null)]
public ASPxCardViewSummaryItemCollection TotalSummary { get; }

Property Value

Type Default Description
ASPxCardViewSummaryItemCollection *null*

An ASPxSummaryItemCollection object that is the collection of summary items.

Remarks

Total summaries are displayed in the summary panel, provided that the ASPxCardViewSettings.ShowSummaryPanel option is set to true. The total summary represents a value of an aggregate function calculated over all cards displayed within the ASPxCardView.

Note

In server mode, a summary cannot be calculated for unbound columns whose values are calculated by using events (see ASPxCardView.CustomUnboundColumnData). Only columns with unbound expressions (see CardViewColumn.UnboundExpression) support summary calculation.

To learn more, see Data Summaries.

Example

ASPxCardViewSummaryItem totalSummary = new ASPxCardViewSummaryItem();
totalSummary.FieldName = "Price";
totalSummary.SummaryType = SummaryItemType.Min;
totalSummary.ValueDisplayFormat = "c0"; 
ASPxCardView1.TotalSummary.Add(totalSummary);
See Also