Tab

ASPxCardView.TotalSummary Property

Provides access to total summary items.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

Declaration

[DefaultValue(null)]
public ASPxCardViewSummaryItemCollection TotalSummary { get; }
<DefaultValue(Nothing)>
Public ReadOnly Property TotalSummary As ASPxCardViewSummaryItemCollection

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.

Examples

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