CustomSummaryEventArgs.SummaryProcess Property

Gets a value indicating the data summary calculation stage.

Namespace: DevExpress.Mobile.DataGrid

Assembly: DevExpress.Mobile.Grid.v18.1.dll

Declaration

public CustomSummaryProcess SummaryProcess { get; }
Public ReadOnly Property SummaryProcess As CustomSummaryProcess

Property Value

Type Description
CustomSummaryProcess

A CustomSummaryProcess enumeration value indicating the calculation stage.

By default, the process of custom summary calculation consists of three stages.

Examples

This example shows how to use the GridControl.CalculateCustomSummary event to create a custom summary that counts the total number of data rows whose cells in the Shipped column (SwitchColumn) contain false.

<dxGrid:GridControl.TotalSummaries>
    <dxGrid:GridColumnSummary FieldName="Total" Type="Sum" 
                            DisplayFormat= "Total: {0:C0}"/>
    <dxGrid:GridColumnSummary FieldName="Shipped" Type="Custom" 
                            DisplayFormat= "Not Shipped: {0}"/>
</dxGrid:GridControl.TotalSummaries>

See Also