'Declaration Public Class SummaryResult Inherits Infragistics.PropertyChangeNotifier
public class SummaryResult : Infragistics.PropertyChangeNotifier
SummaryResult object holds result of a summary calculation. RecordCollection exposes RecordCollectionBase.SummaryResults property that returns a collection of all the summary calculation results associated with that RecordCollection.
To specify summaries to calculate, use the FieldLayout's FieldLayout.SummaryDefinitions property.
Imports Infragistics.Windows Imports Infragistics.Windows.Editors Imports Infragistics.Windows.DataPresenter Private Sub Dp_SummaryResultChanged(ByVal sender As Object, ByVal e As Infragistics.Windows.DataPresenter.Events.SummaryResultChangedEventArgs) Debug.WriteLine("New value of summary is " & e.SummaryResult.Value) End Sub
using Infragistics.Windows; using Infragistics.Windows.Editors; using Infragistics.Windows.DataPresenter; public void dp_SummaryResultChanged( object sender, Infragistics.Windows.DataPresenter.Events.SummaryResultChangedEventArgs e ) { Debug.WriteLine( "New value of summary is " + e.SummaryResult.Value ); }
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