ASPxCardView.TotalSummary Property
Provides access to total summary items.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
[DefaultValue(null)]
public ASPxCardViewSummaryItemCollection TotalSummary { get; }
#Property Value
Type | Default | Description |
---|---|---|
ASPx |
null | An ASPx |
#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 ASPx
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);