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.
Unfortunately, activation email could not send to your email. Please try again.

GridControl, DragOver/DragDrop event, looking up wich cell is hovered?

Thread ID:





19373 Sep 24,2004 07:18 AM Sep 24,2004 07:35 AM Windows Forms 2
Tags: GridControl
Peter Erikson
Asked On September 24, 2004 07:18 AM

Hi, Can anyone help me with info on how to look up a grid cell in a GridControl with a mouse coordinate? I am trying to figure out wich cell i am hovering in the GridControls DragOver and DragDrop event. Thanx Peter

Administrator [Syncfusion]
Replied On September 24, 2004 07:31 AM

Hi Peter, Try GridRangeInfo rgCell = grid.PointToRangeInfo(new Point(e.X, e.Y)); sometimes you also need to call grid.PointToClient to convert from screen to client coordinates. Stefan

Peter Erikson
Replied On September 24, 2004 07:35 AM

That did the trick. Thanx again Stefan!


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.

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.