Version

EndUpdate(Boolean) Method

Resets the IsUpdating flag to false and optionally invalidates the control.
Syntax
'Declaration
 
Public Overloads Overridable Sub EndUpdate( _
   ByVal invalidate As Boolean _
) 
public virtual void EndUpdate( 
   bool invalidate
)

Parameters

invalidate
True to invalidate the control and dirty the child elements; otherwise false.
Remarks

This method must be called after BeginUpdate. If BeginUpdate was called without a subsequent call to EndUpdate the control will not draw itself.

Note: Calling this method passing in false should only be done when it is known that the changes made between the BeginUpdate and EndUpdate calls did not require invalidation or dirtying of the elements or when the invalidation is being handled by the programmer.

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