Well, that 's because you are using DirectCast, instead of try case. Here is the correct code:
GridCellElement = TryCast(radGridView1.ElementTree.GetElementAtPoint(e.Location), GridCellElement)
radGridView1.Cursor = Cursors.Cross
radGridView1.Cursor = Cursors.[
You can also use our online converter to convert between C# and VB.
I hope this helps.
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos
and start improving your app based on facts, not hunches.