Version

ResumeBindingNotifications(Boolean) Method

Resumes firing of IBindingList related notifications.
Syntax
'Declaration
 
Public Overloads Sub ResumeBindingNotifications( _
   ByVal fireNotifications As Boolean _
) 
public void ResumeBindingNotifications( 
   bool fireNotifications
)

Parameters

fireNotifications
Remarks

This method along with the SuspendBindingNotifications can be used to temporarily prevent UltraDataSource from firing ListChanged ItemChanged notifications. This can be useful in a situation where a lot of cells need to be modified however for efficiency reasons you do not want to fire ListChanged ItemChanged notification for every cell that's modified. In such a situation you would call SuspendBindingNotifications and modify cells and then call ResumeBindingNotifications. When ResumeBindingNotifications is called the UltraDataSource fires a single ListChanged Reset notification for every row collection that was affected to cause the bound controls to reload the data. To prevent the ResumeBindingNotifications from firing any notifications on resumption, use the overload of ResumeBindingNotifications that takes in fireNotifications parameter. However note that if you specify false for fireNotifications parameter then the bound controls may not reflect the changed cell values. You will have to invalidate those controls manually yourself.

,
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