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.

DataGrid getting point from an active cell chosen using up down keys

Thread ID:





1074 Sep 19,2002 01:56 PM Sep 19,2002 04:15 PM Windows Forms 1
Tags: FAQ
Asked On September 19, 2002 01:56 PM

Hello, How do I get a point from an active cell while choosing it using keyboard. I can do it using mouse events but what if a user uses the keyboard. Please try answering my question in VB.NET Thank You

Clay Burch [Syncfusion]
Replied On September 19, 2002 04:15 PM

You can get the currentcell rectangle and use the rectangle to get a point in the cell. Dim rect As Rectangle = Me.DataGrid1.GetCellBounds(Me.DataGrid1.CurrentCell) Console.WriteLine(rect.ToString())


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.