LEADTOOLS WPF and Silverlight (Leadtools.Windows.Controls assembly)
LEAD Technologies, Inc

EndUpdate Method (ImageBox)






Refreshes the control to include all the changes made after using the BeginUpdate method. .NET support Silverlight support
Syntax
public virtual void EndUpdate()
'Declaration
 
Public Overridable Sub EndUpdate() 
'Usage
 
Dim instance As ImageBox
 
instance.EndUpdate()
public virtual void EndUpdate()
 function Leadtools.Windows.Controls.ImageBox.EndUpdate()
public:
virtual void EndUpdate(); 
Remarks

The BeginUpdate method will cause the control not to call the System.Windows.UIElement.InvalidateMeasure method when any changes to the control properties or the image is applied. When the user calls the EndUpdate method, the viewer will call System.Windows.UIElement.InvalidateMeasure to show all the changes made. This is useful for better visual results and for speed efficiency.

Calls to BeginUpdate and EndUpdate are accumulative, you can call BeginUpdate as many times as you want and you must call the EndUpdate equivalant times to cause the update to happen.

Example

For C#/VB examples, refer to Flip.

Requirements

Target Platforms: 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

ImageBox Class
ImageBox Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.