Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
744
Establishing a cell's current physical location
posted

I'm trying to line some things up with particular cells on the wingrid, is there some way, that with a row and column number i can find the top / botton / left / right position of that cell? (which will vary as the user scrolls)

Any help appreciated,

-Anthony

Parents
No Data
Reply
  • 17259
    Offline posted

    Use row.Cells[columnNumber].GetUIElement().ClipRect

    All points are grid related, so to get the location in the form coordinates you need to add the grid top left location. To get the screen coordinates use PointToScreen. 

Children
No Data