Skip to content

Commit 52e7be6

Browse files
author
Arulpriya
authored
Update README.md
1 parent 52f5f10 commit 52e7be6

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
# how-to-change-the-image-in-gridimagecolumn-after-mouse-hover-in-winforms-datagrid
2+
3+
## About the sample.
4+
This sample illustrates that how to change the image in gridimagecolumn after mouse hover in winforms datagrid.
5+
26
By default, the Tooltip for grid cells will be loaded with CellValue. To add image in tooltip, the ToolTipOpening event can be used. In that event, the ToolTipInfo for the items can be updated with image.
37

4-
```//Event subscription
8+
```C#
9+
//Event subscription
510
this.sfDataGrid1.ToolTipOpening += SfDataGrid1_ToolTipOpening;
611

712
//Event customization
@@ -23,4 +28,7 @@ private void SfDataGrid1_ToolTipOpening(object sender, ToolTipOpeningEventArgs e
2328
}
2429
}
2530
```
31+
## Requirements to run the demo
32+
Visual Studio 2015 and above versions
33+
2634
![Image in tooltip](Image%20in%20tooltip.png)

0 commit comments

Comments
 (0)