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

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

1 Reply

CB Clay Burch Syncfusion Team September 19, 2002 08:15 PM UTC

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())

Loader.
Up arrow icon