CustomSummaryEventArgs Class

Provides data for the GridControl.CalculateCustomSummary event.

Namespace: DevExpress.Mobile.DataGrid

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

Declaration

public class CustomSummaryEventArgs :
    EventArgs
Public Class CustomSummaryEventArgs
    Inherits EventArgs

The CustomSummaryEventArgs objects are automatically created, initialized and passed to the GridControl.CalculateCustomSummary event handlers.

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>

Inheritance

Object
CustomSummaryEventArgs

See Also