As there is no event for Cell Mouse Enter or Cell Mouse Leave for a GridView, What event can I use to change the Mouse Cursor when the mouse hovers over a specific Cell?
I tried using the CellFormatting event to no avail.
01.
Private
Sub
dgvVenItems_CellFormatting(sender
As
Object
, e
As
Telerik.WinControls.UI.CellFormattingEventArgs)
Handles
dgvVenItems.CellFormatting
02.
Dim
font
As
New
System.Drawing.Font(SystemFonts.DialogFont, FontStyle.Underline)
03.
04.
If
e.CellElement.ColumnIndex = 0
Then
05.
e.CellElement.ForeColor = System.Drawing.Color.Blue
06.
e.CellElement.Font = font
07.
dgvVenItems.Cursor = Cursors.Hand
08.
Else
09.
e.CellElement.ResetValue(LightVisualElement.ForeColorProperty, ValueResetFlags.Local)
10.
dgvVenItems.Cursor = Cursors.
Default
11.
End
If
12.
End
Sub