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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

screen (x, y) position of cell

Thread ID:





23439 Jan 12,2005 04:44 PM UTC Jan 12,2005 10:44 PM UTC WinForms 2
Tags: GridControl
Administrator [Syncfusion]
Asked On January 12, 2005 04:44 PM UTC

When certain cells activate, I would like to display a PopupControlContainer precisely below the active cell. How do I get the x, y screen position of the bottom border of the active cell? I’m also using the docking manager and several layout managers on my form if it matters. Thank you, Steve

Administrator [Syncfusion]
Replied On January 12, 2005 08:53 PM UTC

Here is code that will give you the current cell rectangle both in grid coordinates and screen coordinates. Rectangle gridRect = this.gridDataBoundGrid1.RangeInfoToRectangle(this.gridDataBoundGrid1.CurrentCell.RangeInfo); Rectange screenRect = this.gridDataBoundGrid1.RectangleToScreen(gridRect);

Administrator [Syncfusion]
Replied On January 12, 2005 10:44 PM UTC

Works like a champ! Thank you.


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