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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to find out if a grid is in the displayed area?

Thread ID:





40906 Feb 16,2006 07:22 AM UTC Feb 18,2006 09:31 AM UTC WinForms 1
Tags: GridControl
Daniel Roesch
Asked On February 16, 2006 07:22 AM UTC

hi! i have a panel that hosts a few gridcontrols. now i''d like to call the repaint methods but only if the grid is in the displayed area of the panel. how can i find out if the grid is displayed or not? thx a lot! dan

Administrator [Syncfusion]
Replied On February 18, 2006 09:31 AM UTC

Hi Dan, One way to achieve this is by comparing the pixels of the grid with the other controls inside the panel, to check whether any area is visible in display area. Here is a sample demonstrating this. Regards, Madhan.


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

or the page will be automatically redirected to 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