Back to Devexpress

GridSummaryItem Class

windowsforms-devexpress-dot-xtragrid-8be679d2.md

latest3.8 KB
Original Source

GridSummaryItem Class

Represents a footer summary item.

Namespace : DevExpress.XtraGrid

Assembly : DevExpress.XtraGrid.v25.2.dll

NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

csharp
public class GridSummaryItem :
    ISummaryItem
vb
Public Class GridSummaryItem
    Implements ISummaryItem

The following members return GridSummaryItem objects:

Remarks

Grid Views allow you to display total summaries. These are aggregate function values calculated over all records within the View and displayed within the view footer under a particular column. To set up a total summary for a column, use the column’s GridColumn.SummaryItem property. This property provides access to a GridSummaryItem object that contains total summary settings. The main settings include:

Additionally, GridSummaryItem objects enable you to obtain the calculated value and its formatted representation. Use the GridSummaryItem.SummaryValue and GridSummaryItem.GetDisplayText members for this purpose.

Note that the GridSummaryItem class serves as the base for the GridGroupSummaryItem class that provides settings for group summary items. The descendant inherits the declared settings (they are common for both summary types) and additionally introduces group summary specific settings.

Inheritance

Object GridSummaryItem GridColumnSummaryItem

GridGroupSummaryItem

See Also

GridSummaryItem Members

GridGroupSummaryItem

Summaries

DevExpress.XtraGrid Namespace