Version

ResumeSummaryUpdates Method

Resumes the default behavior of marking summaries for recalculations whenever row changed notification is received.
Syntax
'Declaration
 
Public Sub ResumeSummaryUpdates( _
   ByVal recalculateSummaries As Boolean _
) 
public void ResumeSummaryUpdates( 
   bool recalculateSummaries
)

Parameters

recalculateSummaries
Specifies whether the UltraGrid should recalculate all the summaries or not. You would specify that parameter as false if you know that none of the changes you made affected the summaries. Otherwise you would specifiy that parameter as true.
Remarks

SuspendSummaryUpdates and ResumeSummaryUpdates methods can be used to temporarily prevent the UltraGrid from responding to cell change notifications and marking the summaries dirty. Summaries are re-calculated lazily however this method is useful when you are modifying a lots of cells and for efficiency reasons you want to prevent UltraGrid from responding to every cell change notification. In that case you can call SuspendSummaryUpdates and change the cell values and call ResumeSummaryUpdates. ResumeSummaryUpdates method takes in recalculateSummaries parameter that you can use to specify whether the UltraGrid should recalculate all the summaries or not. You would specify that parameter as false if you know that none of the changes you made affected the summaries. Otherwise you would specifiy that parameter as true.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, 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

See Also

Reference

UltraGridBase Class
UltraGridBase Members
SuspendSummaryUpdates Method
SummaryUpdatesSuspended Property
Infragistics.Win.UltraControlBase.BeginUpdate
Infragistics.Win.UltraControlBase.EndUpdate(System.Boolean)