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

Get current X and Y or rectangle position from Current Cell

Thread ID:





51221 Oct 31,2006 06:31 PM UTC Nov 1,2006 04:17 AM UTC WinForms 1
Tags: GridControl
Adam K.
Asked On October 31, 2006 06:31 PM UTC

i want to popup a form from clicking on a cell and i want to ahve the form.Top property show up right at the bottom of the current cell and the left property of the form be the left property of the current cell.

How do i do this ? Thanks in advance.


Administrator [Syncfusion]
Replied On November 1, 2006 04:17 AM UTC

Hi Adam,

You can use the Renderer.GetCellBoundsCore method to get the cell bounds information from the grid. Below is a code

private void gridCellClick(object sender, GridCellClickEventArgs e)
GridCurrentCell cc = this.gridDataBoundGrid1.CurrentCell;
Rectangle rect = cc.Renderer.GetCellBoundsCore(e.RowIndex,e.ColIndex,true);

Best Regards,


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

or the page will be automatically redirected to 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