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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Thread ID:





19373 Sep 24,2004 11:18 AM UTC Sep 24,2004 11:35 AM UTC WinForms 2
Tags: GridControl
Peter Erikson
Asked On September 24, 2004 11:18 AM UTC

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 11:31 AM UTC

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 11:35 AM UTC

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.

Please sign in to access our forum

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

Live Chat Icon For mobile
Live Chat Icon