Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Tooltip in .Net

I have a DataGridView in a Winforms application containing a collection of items. Each item has an image and various other details. I know it is possible in WPF, but can you get a tooltip to display an image and a more structured set of details then just plain text?

Thanks.

like image 457
Ben Avatar asked Oct 15 '22 06:10

Ben


1 Answers

You'd have to draw it yourself, look at ToolTip.OwnerDraw.

http://msdn.microsoft.com/en-us/library/system.windows.forms.tooltip.ownerdraw.aspx

like image 179
Hans Olsson Avatar answered Nov 15 '22 06:11

Hans Olsson