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

screen (x, y) position of cell

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

2 Replies

AD Administrator Syncfusion Team January 12, 2005 03:53 PM

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);


AD Administrator Syncfusion Team January 12, 2005 05:44 PM

Works like a champ! Thank you.

Loader.
Live Chat Icon For mobile
Up arrow icon