←Select platform

EndUpdate Method

Summary

Refreshes the control to include all the changes made after using the BeginUpdate method.

Syntax

C#
VB
C++
public virtual void EndUpdate() 
  
Public Overridable Sub 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 equivalent times to cause the update to happen.

Example

For C#/VB examples, refer to Flip.

Requirements

Target Platforms

See Also

Reference

ImageBox Class

ImageBox Members

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.Controls Assembly