The requested page is not available for the requested platform. You are viewing the content for Default platform.

CustomSummaryEventArgs.IsTotalSummary Property

Gets whether a total summary value is being calculated.

Namespace: DevExpress.Mobile.DataGrid

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

Declaration

public bool IsTotalSummary { get; }
Public ReadOnly Property IsTotalSummary As Boolean

Property Value

Type Description
Boolean

true, if a total summary value is being calculated; otherwise, false.

Remarks

Important

This documentation topic describes legacy technology. We no longer develop new functionality for the GridControl and suggest that you use the new DataGridView control instead.

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