Version

EndUpdate(Boolean) Method

Resets the Infragistics.Win.UltraControlBase.IsUpdating flag to false and optionally invalidates the control.
Syntax
'Declaration
 
Public Overloads Overrides Sub EndUpdate( _
   ByVal invalidate As Boolean _
) 
public override 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.
Example
The following code demonstrates how to add multiple tiles to the UltraTilePanel as a single operation.

Imports System.Windows.Forms
Imports Infragistics.Win
Imports Infragistics.Win.Misc

' Begin an updte operation the UltraTilePanel so it doesn't layout the 
' UltraTiles while multiple tiles are being added.

Me.UltraTilePanel1.BeginUpdate()

' Add a few UltraTiles to the UltraTilePanel
Dim tile1 As New UltraTile
tile1.Control = New Button()
tile1.State = TileState.Large
Me.UltraTilePanel1.Tiles.Add(tile1)

Dim tile2 As New UltraTile
tile2.Control = New TextBox()
Me.UltraTilePanel1.Tiles.Add(tile2)

Dim tile3 As New UltraTile
tile3.Control = New Label()
Me.UltraTilePanel1.Tiles.Add(tile3)

' End the update operation so the UltraTilePanel can continute managing 
' the UltraTile objects.
Me.UltraTilePanel1.EndUpdate()
using System.Windows.Forms;
using Infragistics.Win;
using Infragistics.Win.Misc;

// Begin an updte operation the UltraTilePanel so it doesn't layout the 
// UltraTiles while multiple tiles are being added.
this.ultraTilePanel1.BeginUpdate();

// Add a few UltraTiles to the UltraTilePanel
UltraTile tile1 = new UltraTile();
tile1.Control = new Button();
tile1.State = TileState.Large;
this.ultraTilePanel1.Tiles.Add( tile1 );

UltraTile tile2 = new UltraTile();
tile2.Control = new TextBox();
this.ultraTilePanel1.Tiles.Add( tile2 );

UltraTile tile3 = new UltraTile();
tile3.Control = new Label();
this.ultraTilePanel1.Tiles.Add( tile3 );

// End the update operation so the UltraTilePanel can continute managing 
// the UltraTile objects.
this.ultraTilePanel1.EndUpdate();
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