'Declaration Public Property SummaryEvaluationMode As SummaryEvaluationMode
public SummaryEvaluationMode SummaryEvaluationMode {get; set;}
SummaryEvaluationMode property is used to control how the data presenter calculates summaries. By default it calculates the summaries by enumerating all the records (in the process allocating them if they are not already allocated) and getting the cell value of each record and aggregating the values using the SummaryDefinition.Calculator associated with the SummaryDefinition. You can set this property to SummaryEvaluationMode.UseLinq to have the data presenter use LINQ to perform summary calculations. Note that any converter settings specified on the Field, like Converter, will not be utilized when using LINQ.
Also note that the data presenter raises QuerySummaryResult event before it starts the process of calculation for each summary result. You can use the QuerySummaryResult event to calculate the summary result and provide the calculated value to the data presenter via the Infragistics.Windows.DataPresenter.Events.QuerySummaryResultEventArgs.SetSummaryValue method of the associated event args. Doing so will cause the data presenter to use the provided value instead of performing its own calculation. Furthermore, this property's settings will be ignored when you provide your own calculate value via this event.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2