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
960
cell location relative to screen
posted

Hi,

 I have a cel in a grid which is a click button.

Whenever the butten is clicked, I want to show a popup form that will load near the button.

How can I get the location of the cell relative to the screen as oppose to the parent grid?

 

Thanks,

Parents
No Data
Reply
  • 37774
    posted

    You could get the UIElement from the cell, as I show below, or use the Cursor.Position if you prefer that.

    Point point = this.ultraGrid1.PointToScreen(cell.GetUIElement().Rect.Location);

     -Matt

Children
No Data