ASPxCardViewSummaryItem Class
Represents a summary item.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Related API Members
The following members return ASPxCardViewSummaryItem objects:
Library | Related API Members |
---|---|
ASP.NET Bootstrap Controls | BootstrapCardViewSummaryDisplayTextEventArgs.Item |
ASP.NET Web Forms Controls | ASPxCardViewSummaryDisplayTextEventArgs.Item |
ASPxCardViewSummaryItemCollection.Add(SummaryItemType, String) | |
ASPxCardViewSummaryItemCollection.Item[String, SummaryItemType] | |
ASPxCardViewSummaryItemCollection.Item[String] |
Remarks
The ASPxCardView allows you to display brief information about rows or individual data columns. For instance, you can display the number of records or the maximum value, etc. This is called a summary. Summaries are represented by the ASPxCardViewSummaryItem objects.
The ASPxCardView supports total summaries. These are aggregate function values calculated over all the cards within the ASPxCardView and displayed within the summary panel. Total summaries are stored within the ASPxCardView.TotalSummary collection.
For a summary item, the following two properties must be specified.
- The ASPxSummaryItemBase.FieldName property specifies the name of a data source field whose values are used for summary calculation.
- The ASPxSummaryItemBase.SummaryType property specifies the aggregate function type.
<dx:ASPxCardViewSummaryItem FieldName="Total" SummaryType="Sum"/>
The summary item above summarizes the ‘Total’ field values within all cards and display the sum in the summary panel.
To learn more, see Data Summaries.