corelibraries-devexpress-dot-data-9bd2554b.md
Contains values that specify how summaries are calculated - against all rows or for the selected rows.
Namespace : DevExpress.Data
Assembly : DevExpress.Data.v25.2.dll
NuGet Package : DevExpress.Data
public enum SummaryMode
Public Enum SummaryMode
| Name | Description |
|---|---|
AllRows |
Calculate a summary against all rows.
|
| Selection |
Calculate a summary against the selection.
|
| Mixed |
Mixed mode. If a single row is selected, calculate a summary against all rows. If 2 or more rows are selected, calculate the summary against the selection.
|
| ListSourceRows | |
The following properties accept/return SummaryMode values:
| Library | Related API Members |
|---|---|
| Cross-Platform Class Library | CustomSummaryEventArgs.Mode |
| WinForms Controls | GridGroupSummaryItem.Mode |
| GridSummaryItem.Mode |
In the Data Grid control, use the GridSummaryItem.Mode property to specify summary calculation mode.
See Also