[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Collapse]Windows 10 App Controls
  Prerequisites
 [Expand]Getting Started
 [Expand]Controls
 [Expand]Themes and Color Schemes
  Localization
  Get More Help
 [Collapse]API Reference
  [Expand]DevExpress.Core
  [Collapse]DevExpress.Data
    ColumnSortOrder Enumeration
   [Collapse]CustomSummaryEventArgs Class
     CustomSummaryEventArgs Members
    [Expand]CustomSummaryEventArgs Constructor
    [Collapse]CustomSummaryEventArgs Properties
      FieldValue Property
      GroupLevel Property
      GroupRowHandle Property
      IsGroupSummary Property
      IsTotalSummary Property
      Item Property
      RowHandle Property
      SummaryProcess Property
      TotalValue Property
      TotalValueReady Property
    [Expand]CustomSummaryEventArgs Methods
    CustomSummaryEventHandler Delegate
   [Expand]CustomSummaryExistEventArgs Class
    CustomSummaryExistEventHandler Delegate
    CustomSummaryProcess Enumeration
    SummaryItemType Enumeration
    UnboundColumnType Enumeration
  [Expand]DevExpress.Data.Filtering
  [Expand]DevExpress.Mvvm
  [Expand]DevExpress.Mvvm.UI
  [Expand]DevExpress.UI.Xaml
  [Expand]DevExpress.UI.Xaml.Charts
  [Expand]DevExpress.UI.Xaml.Controls
  [Expand]DevExpress.UI.Xaml.Controls.Internal.Pdf
  [Expand]DevExpress.UI.Xaml.Editors
  [Expand]DevExpress.UI.Xaml.Editors.Native
  [Expand]DevExpress.UI.Xaml.Gauges
  [Expand]DevExpress.UI.Xaml.Grid
  [Expand]DevExpress.UI.Xaml.Grid.Native
  [Expand]DevExpress.UI.Xaml.Layout
  [Expand]DevExpress.UI.Xaml.Layout.Base
  [Expand]DevExpress.UI.Xaml.Layout.Internal
  [Expand]DevExpress.UI.Xaml.Layout.VisualElements
  [Expand]DevExpress.UI.Xaml.Map
  [Expand]DevExpress.UI.Xaml.Ribbon
  [Expand]DevExpress.Utils
  [Expand]DevExpress.XtraGrid
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

CustomSummaryEventArgs.TotalValueReady Property

Gets or sets whether the calculation stage of the custom summary calculation process should be skipped.

Namespace:DevExpress.Data
Assembly:DevExpress.Core.v18.1.dll

Expanded Syntax

Property value

Type: Boolean
true if the calculation stage of the custom summary calculation process should be skipped; otherwise, false.

Expanded Remarks

Controls that support custom summary calculation provide a specific event. For instance, the Grid Control provides the GridControl.CustomSummary event.

By default, the process of custom summary calculation consists of three stages: Start, Calculation and Finalization. During the Start stage the calculation event fires once with the SummaryProcess parameter set to CustomSummaryProcess.Start. During the Calculation stage the event is called multiple times - once for each record. Finally, during the last stage the event is called once with the SummaryProcess parameter set to CustomSummaryProcess.Finalize.

The TotalValueReady property allows you to interrupt the process of summary calculation during the Start stage. You cannot interrupt the process in the other stages. This can be useful if you need to calculate a custom summary during the Start or Finalization stage while skipping the time-consuming Calculation stage.

If the TotalValueReady property is set to true the Calculation stage is skipped and the Finalization stage starts immediately (the summary calculation event will be called with the SummaryProcess parameter set to CustomSummaryProcess.Finalize).

Expanded See Also

Is this topic helpful?​​​​​​​