Value returns the result of the summary calculation. The type of the returned value varies depending upon the type of summary calculation being performed. Typically for numeric calculations, a numeric type like decimal is returned. For Maximum and Minimum summary calculations, the returned object is of field's data type.
Value essentially returns whatever object the underlying summary calculator returned from the underlying EndCalculation implemenetation.
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