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