We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback


Thread ID:





24706 Feb 9,2005 04:56 PM UTC Feb 9,2005 06:14 PM UTC WinForms 1
Tags: GridControl
Administrator [Syncfusion]
Asked On February 9, 2005 04:56 PM UTC

Hello What is the difference between : refresh Update InvalidateRange SetRange BeginUpdate/EndUpdate They all force to refresh ? No ?

Administrator [Syncfusion]
Replied On February 9, 2005 06:14 PM UTC

Refresh will also call ResetVolatileData and call UpdateScrollbars. After that it will call Invalidate and Update to force a immediate repaint. InvalidateRange only invalidates the cells of the given range. Repaint occurs next time a WM_PAINT message is sent to the control. ChangeCells changes contents of cells. It saves the data into Data object, optionally creates undo information and then calls InvalidateRange followed by a Update. BeginUpdate suspends all drawing to the grid. EndUpdate will resume drawing. When you pass true to BeginUpdate it will check if any calls were made after BeginUpdate that invalidated area of the grid. In such case Update is called followed by a UpdateScrollbars call. Stefan >Hello > >What is the difference between : >refresh >Update >InvalidateRange >SetRange >BeginUpdate/EndUpdate > >They all force to refresh ? No ? >


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon